Commit 9cc77a45 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Add an assert for Coverity

parent 682a5cdd
......@@ -361,6 +361,7 @@ vbe_dir_getfd(const struct director *d, struct busyobj *bo)
if (bo->htc == NULL)
bo->htc = WS_Alloc(bo->ws, sizeof *bo->htc);
AN(bo->htc);
memset(bo->htc, 0, sizeof *bo->htc);
bo->htc->magic = HTTP_CONN_MAGIC;
bo->htc->vbc = vc;
......
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