r1546 - trunk/varnish-cache/bin/varnishd
phk at projects.linpro.no
phk at projects.linpro.no
Sun Jun 24 12:42:08 CEST 2007
Author: phk
Date: 2007-06-24 12:42:08 +0200 (Sun, 24 Jun 2007)
New Revision: 1546
Modified:
trunk/varnish-cache/bin/varnishd/cache_http.c
Log:
strchr(const char *) returns a const char *.
Modified: trunk/varnish-cache/bin/varnishd/cache_http.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_http.c 2007-06-24 10:17:29 UTC (rev 1545)
+++ trunk/varnish-cache/bin/varnishd/cache_http.c 2007-06-24 10:42:08 UTC (rev 1546)
@@ -865,7 +865,8 @@
static void
http_PutField(struct http *to, int field, const char *string)
{
- char *e, *p;
+ const char *e;
+ char *p;
int l;
CHECK_OBJ_NOTNULL(to, HTTP_MAGIC);
More information about the varnish-commit
mailing list