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:
Alexis La Goutte 2014-04-30 16:38:57 +02:00
parent 763cdc3499
commit 33a6851abe
1 changed files with 2 additions and 2 deletions

View File

@ -1612,8 +1612,8 @@ static int nghttp2_session_prep_frame(nghttp2_session *session,
frame->hd.stream_id = session->next_stream_id;
session->next_stream_id += 2;
// We first open strea with default priority. This is because
// priority may be adjusted in callback.
/* We first open strea with default priority. This is because
priority may be adjusted in callback. */
nghttp2_priority_spec_default_init(&pri_spec_default);
stream = nghttp2_session_open_stream