From 37974bf3e38146662fb7976114f9b9f3802df16a Mon Sep 17 00:00:00 2001 From: phk Date: Mon, 24 Nov 2008 12:30:29 +0000 Subject: [PATCH] Use == for comparison. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3424 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/bin/varnishd/cache_vrt_esi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/varnish-cache/bin/varnishd/cache_vrt_esi.c b/varnish-cache/bin/varnishd/cache_vrt_esi.c index b213bff6..0019da0e 100644 --- a/varnish-cache/bin/varnishd/cache_vrt_esi.c +++ b/varnish-cache/bin/varnishd/cache_vrt_esi.c @@ -800,7 +800,7 @@ ESI_Deliver(struct sess *sp) 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 @@ ESI_Deliver(struct sess *sp) 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); } -- 2.39.5