Fix GCC build with -Werror
nghttp2_session.c:1615:9: error: C++ style comments are not allowed in ISO C90 [-Werror]
This commit is contained in:
parent
763cdc3499
commit
33a6851abe
|
@ -1612,8 +1612,8 @@ static int nghttp2_session_prep_frame(nghttp2_session *session,
|
||||||
frame->hd.stream_id = session->next_stream_id;
|
frame->hd.stream_id = session->next_stream_id;
|
||||||
session->next_stream_id += 2;
|
session->next_stream_id += 2;
|
||||||
|
|
||||||
// We first open strea with default priority. This is because
|
/* We first open strea with default priority. This is because
|
||||||
// priority may be adjusted in callback.
|
priority may be adjusted in callback. */
|
||||||
nghttp2_priority_spec_default_init(&pri_spec_default);
|
nghttp2_priority_spec_default_init(&pri_spec_default);
|
||||||
|
|
||||||
stream = nghttp2_session_open_stream
|
stream = nghttp2_session_open_stream
|
||||||
|
|
Loading…
Reference in New Issue