Commit 344d663e authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

deflate_hd: Fix mishandled error return from emit_indexed_block

parent d48eca60
...@@ -1046,7 +1046,7 @@ static int deflate_nv(nghttp2_hd_deflater *deflater, ...@@ -1046,7 +1046,7 @@ static int deflate_nv(nghttp2_hd_deflater *deflater,
for(; num_emits > 0; --num_emits) { for(; num_emits > 0; --num_emits) {
rv = emit_indexed_block(bufs, index); rv = emit_indexed_block(bufs, index);
if(rv != 0) { if(rv != 0) {
break; return rv;
} }
} }
} }
......
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