r3628 - branches/2.0/varnish-cache/bin/varnishd

tfheen at projects.linpro.no tfheen at projects.linpro.no
Thu Feb 5 13:47:35 CET 2009


Author: tfheen
Date: 2009-02-05 13:47:34 +0100 (Thu, 05 Feb 2009)
New Revision: 3628

Modified:
   branches/2.0/varnish-cache/bin/varnishd/cache_vrt_esi.c
Log:
Merge r3424: Use == for comparison.



Modified: branches/2.0/varnish-cache/bin/varnishd/cache_vrt_esi.c
===================================================================
--- branches/2.0/varnish-cache/bin/varnishd/cache_vrt_esi.c	2009-02-05 12:44:21 UTC (rev 3627)
+++ branches/2.0/varnish-cache/bin/varnishd/cache_vrt_esi.c	2009-02-05 12:47:34 UTC (rev 3628)
@@ -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);
@@ -862,7 +862,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