r3424 - trunk/varnish-cache/bin/varnishd

phk at projects.linpro.no phk at projects.linpro.no
Mon Nov 24 13:30:29 CET 2008


Author: phk
Date: 2008-11-24 13:30:29 +0100 (Mon, 24 Nov 2008)
New Revision: 3424

Modified:
   trunk/varnish-cache/bin/varnishd/cache_vrt_esi.c
Log:
Use == for comparison.



Modified: trunk/varnish-cache/bin/varnishd/cache_vrt_esi.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_vrt_esi.c	2008-11-24 12:27:25 UTC (rev 3423)
+++ trunk/varnish-cache/bin/varnishd/cache_vrt_esi.c	2008-11-24 12:30:29 UTC (rev 3424)
@@ -800,7 +800,7 @@
 	struct object *obj;
 
 	VTAILQ_FOREACH(eb, &sp->obj->esibits, list) {
-		assert(sp->wrk->wfd = &sp->fd);
+		assert(sp->wrk->wfd == &sp->fd);
 		if (Tlen(eb->verbatim)) {
 			if (sp->http->protover >= 1.1)
 				(void)WRK_Write(sp->wrk, eb->chunk_length, -1);
@@ -855,7 +855,7 @@
 		sp->obj = obj;
 
 	}
-	assert(sp->wrk->wfd = &sp->fd);
+	assert(sp->wrk->wfd == &sp->fd);
 	if (sp->esis == 0 && sp->http->protover >= 1.1)
 		(void)WRK_Write(sp->wrk, "0\r\n\r\n", -1);
 }



More information about the varnish-commit mailing list