deflate_hd: Fix mishandled error return from emit_indexed_block

This commit is contained in:
Tatsuhiro Tsujikawa 2014-03-14 00:25:03 +09:00
parent d48eca60cf
commit 344d663e90
1 changed files with 1 additions and 1 deletions

View File

@ -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;
} }
} }
} }