r2352 - trunk/varnish-cache/bin/varnishd

phk at projects.linpro.no phk at projects.linpro.no
Wed Jan 16 15:53:49 CET 2008


Author: phk
Date: 2008-01-16 15:53:48 +0100 (Wed, 16 Jan 2008)
New Revision: 2352

Modified:
   trunk/varnish-cache/bin/varnishd/cache_http.c
Log:
Missed an assignment in last commit.


Modified: trunk/varnish-cache/bin/varnishd/cache_http.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_http.c	2008-01-16 14:49:27 UTC (rev 2351)
+++ trunk/varnish-cache/bin/varnishd/cache_http.c	2008-01-16 14:53:48 UTC (rev 2352)
@@ -230,7 +230,8 @@
 	hdr++;
 	u = http_findhdr(hp, l - 1, hdr);
 	if (u == 0) {
-		*ptr = NULL;
+		if (ptr != NULL)
+			*ptr = NULL;
 		return (0);
 	}
 	if (ptr != NULL) {




More information about the varnish-commit mailing list