Return type of nghttp2_submit_trailer is int
This commit is contained in:
parent
55075516c9
commit
ad5d73738c
|
@ -156,10 +156,11 @@ static int32_t submit_headers_shared_nva(nghttp2_session *session,
|
||||||
attach_stream);
|
attach_stream);
|
||||||
}
|
}
|
||||||
|
|
||||||
int32_t nghttp2_submit_trailer(nghttp2_session *session, int32_t stream_id,
|
int nghttp2_submit_trailer(nghttp2_session *session, int32_t stream_id,
|
||||||
const nghttp2_nv *nva, size_t nvlen) {
|
const nghttp2_nv *nva, size_t nvlen) {
|
||||||
return submit_headers_shared_nva(session, NGHTTP2_FLAG_END_STREAM, stream_id,
|
return (int)submit_headers_shared_nva(session, NGHTTP2_FLAG_END_STREAM,
|
||||||
NULL, nva, nvlen, NULL, NULL, 0);
|
stream_id, NULL, nva, nvlen, NULL, NULL,
|
||||||
|
0);
|
||||||
}
|
}
|
||||||
|
|
||||||
int32_t nghttp2_submit_headers(nghttp2_session *session, uint8_t flags,
|
int32_t nghttp2_submit_headers(nghttp2_session *session, uint8_t flags,
|
||||||
|
|
Loading…
Reference in New Issue