joes 2004/06/21 10:51:03
Modified: t cookie.c
Log:
Update cookie test to use namespace-protected enum.
Revision Changes Path
1.9 +2 -1 httpd-apreq-2/t/cookie.c
Index: cookie.c
===================================================================
RCS file: /home/cvs/httpd-apreq-2/t/cookie.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- cookie.c 9 Jun 2004 21:02:05 -0000 1.8
+++ cookie.c 21 Jun 2004 17:51:03 -0000 1.9
@@ -73,7 +73,8 @@
apreq_cookie_expires(c, "+1y");
CuAssertStrEquals(tc,apr_pstrcat(p,
"foo=bar; path=/quux; domain=example.com;
expires=",
- apreq_expires(p,"+1y",NSCOOKIE), NULL),
apreq_cookie_as_string(c,p));
+ apreq_expires(p,"+1y",APREQ_EXPIRES_NSCOOKIE),
NULL),
+ apreq_cookie_as_string(c,p));
}