]> err.no Git - varnish/commitdiff
Use == for comparison.
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 24 Nov 2008 12:30:29 +0000 (12:30 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 24 Nov 2008 12:30:29 +0000 (12:30 +0000)
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

index b213bff6241c24ad76517e9b75a1d3118c9bccdc..0019da0ea8f882b0e8a80867e9a4ec5788901906 100644 (file)
@@ -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);
 }