Fix compile error with --enable-debug

This commit is contained in:
Tatsuhiro Tsujikawa 2014-06-09 23:21:30 +09:00
parent dacc9b2f1c
commit caf3e1c035
1 changed files with 3 additions and 2 deletions

View File

@ -932,7 +932,7 @@ void nghttp2_session_adjust_closed_stream(nghttp2_session *session,
DEBUGF(fprintf(stderr, "stream: adjusting kept closed streams " DEBUGF(fprintf(stderr, "stream: adjusting kept closed streams "
"num_closed_streams=%zu, num_incoming_streams=%zu, " "num_closed_streams=%zu, num_incoming_streams=%zu, "
"max_concurrent_streams=%u\n", "max_concurrent_streams=%zu\n",
session->num_closed_streams, session->num_incoming_streams, session->num_closed_streams, session->num_incoming_streams,
num_stream_max)); num_stream_max));
@ -4095,7 +4095,8 @@ static int inbound_frame_set_settings_entry(nghttp2_inbound_frame *iframe)
case NGHTTP2_SETTINGS_INITIAL_WINDOW_SIZE: case NGHTTP2_SETTINGS_INITIAL_WINDOW_SIZE:
break; break;
default: default:
DEBUGF(fprintf(stderr, "recv: ignore unknown settings id=0x%02x\n")); DEBUGF(fprintf(stderr, "recv: ignore unknown settings id=0x%02x\n",
iv.settings_id));
return -1; return -1;
} }