Commit aa018b2a authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Use == for comparison.



git-svn-id: http://www.varnish-cache.org/svn/trunk@3424 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent a97decee
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment