Make result type of hd_inflate_commit_indexed void
This commit is contained in:
parent
4639a66e53
commit
0c7d48dede
|
@ -1677,16 +1677,14 @@ static ssize_t hd_inflate_read(nghttp2_hd_inflater *inflater, nghttp2_buf *buf,
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Finalize indexed header representation reception. header is always
|
* Finalize indexed header representation reception. The referenced
|
||||||
* emitted, |*nv_out| is filled with that value and 0 is returned.
|
* header is always emitted, and |*nv_out| is filled with that value.
|
||||||
*/
|
*/
|
||||||
static int hd_inflate_commit_indexed(nghttp2_hd_inflater *inflater,
|
static void hd_inflate_commit_indexed(nghttp2_hd_inflater *inflater,
|
||||||
nghttp2_hd_nv *nv_out) {
|
nghttp2_hd_nv *nv_out) {
|
||||||
nghttp2_hd_nv nv = nghttp2_hd_table_get(&inflater->ctx, inflater->index);
|
nghttp2_hd_nv nv = nghttp2_hd_table_get(&inflater->ctx, inflater->index);
|
||||||
|
|
||||||
emit_header(nv_out, &nv);
|
emit_header(nv_out, &nv);
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue