Commit 4b3dd9a3 authored by Dag Erling Smørgrav's avatar Dag Erling Smørgrav

Change the assert() that triggers in #167 to spassert().


git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2255 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 3774a4e2
......@@ -191,7 +191,7 @@ RES_WriteObj(struct sess *sp)
VSL_stats->n_objwrite++;
WRK_Write(sp->wrk, st->ptr, st->len);
}
assert(u == sp->obj->len);
spassert(u == sp->obj->len);
if (sp->esis > 0)
WRK_Write(sp->wrk, "\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