deflate_hd: Fix mishandled error return from emit_indexed_block
This commit is contained in:
parent
d48eca60cf
commit
344d663e90
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue