Commit 4da4a8e3 authored by Reza Naghibi's avatar Reza Naghibi

Remove extraneous VSB_new()

This came from the H2 backport c3902d57
Fixes #3382
parent 9bf79d4e
......@@ -230,7 +230,6 @@ h2_build_headers(struct vsb *resp, struct req *req)
ssize_t sz, sz1;
l = WS_ReserveAll(req->ws);
AN(VSB_new(resp, req->ws->f, l, VSB_FIXEDLEN));
if (l < 10) {
WS_Release(req->ws, 0);
return (-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