From 33a6851abef4632410997e42da638d44a2c31708 Mon Sep 17 00:00:00 2001 From: Alexis La Goutte Date: Wed, 30 Apr 2014 16:38:57 +0200 Subject: [PATCH] Fix GCC build with -Werror nghttp2_session.c:1615:9: error: C++ style comments are not allowed in ISO C90 [-Werror] --- lib/nghttp2_session.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/nghttp2_session.c b/lib/nghttp2_session.c index 0e7eeb24..a611e7de 100644 --- a/lib/nghttp2_session.c +++ b/lib/nghttp2_session.c @@ -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