]> err.no Git - varnish/commitdiff
strchr(const char *) returns a const char *.
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Sun, 24 Jun 2007 10:42:08 +0000 (10:42 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Sun, 24 Jun 2007 10:42:08 +0000 (10:42 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1546 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishd/cache_http.c

index 61c467e37ace10ee730ffe44d3878155a18733b2..653ea14baea6af6ea7fbaeb3774d81ef180866c0 100644 (file)
@@ -865,7 +865,8 @@ http_SetHeader(struct worker *w, int fd, struct http *to, const char *hdr)
 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);