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

Make this assert even more precise.

parent 7dd4e739
......@@ -55,7 +55,7 @@ v1f_read(const struct vfp_ctx *vc, struct http_conn *htc, void *d, ssize_t len)
CHECK_OBJ_NOTNULL(vc, VFP_CTX_MAGIC);
CHECK_OBJ_NOTNULL(htc, HTTP_CONN_MAGIC);
assert(len >= 0);
assert(len > 0);
l = 0;
p = d;
if (htc->pipeline_b) {
......
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