Commit 0c7d48de authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

Make result type of hd_inflate_commit_indexed void

parent 4639a66e
...@@ -1677,16 +1677,14 @@ static ssize_t hd_inflate_read(nghttp2_hd_inflater *inflater, nghttp2_buf *buf, ...@@ -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;
} }
/* /*
......
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