From 08478c1bc0e62692f51fdadf7d4553b96b3f4475 Mon Sep 17 00:00:00 2001 From: Anna Henningsen Date: Mon, 25 Dec 2017 12:21:58 +0100 Subject: [PATCH] http2: fix compiling with `--debug-http2` PR-URL: https://github.com/nodejs/node/pull/17863 Fixes: https://github.com/nodejs/node/issues/17840 Reviewed-By: Anatoli Papirovski Reviewed-By: James M Snell Reviewed-By: Colin Ihrig --- src/node_http2.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/node_http2.cc b/src/node_http2.cc index ba2a8a655fdac7..c86a1e54b66a30 100644 --- a/src/node_http2.cc +++ b/src/node_http2.cc @@ -174,7 +174,7 @@ void Http2Session::Http2Settings::Init() { if (flags & (1 << IDX_SETTINGS_HEADER_TABLE_SIZE)) { uint32_t val = buffer[IDX_SETTINGS_HEADER_TABLE_SIZE]; - DEBUG_HTTP2SESSION2(session, "setting header table size: %d\n", val); + DEBUG_HTTP2SESSION2(session_, "setting header table size: %d\n", val); entries_[n].settings_id = NGHTTP2_SETTINGS_HEADER_TABLE_SIZE; entries_[n].value = val; n++; @@ -182,7 +182,7 @@ void Http2Session::Http2Settings::Init() { if (flags & (1 << IDX_SETTINGS_MAX_CONCURRENT_STREAMS)) { uint32_t val = buffer[IDX_SETTINGS_MAX_CONCURRENT_STREAMS]; - DEBUG_HTTP2SESSION2(session, "setting max concurrent streams: %d\n", val); + DEBUG_HTTP2SESSION2(session_, "setting max concurrent streams: %d\n", val); entries_[n].settings_id = NGHTTP2_SETTINGS_MAX_CONCURRENT_STREAMS; entries_[n].value = val; n++; @@ -190,7 +190,7 @@ void Http2Session::Http2Settings::Init() { if (flags & (1 << IDX_SETTINGS_MAX_FRAME_SIZE)) { uint32_t val = buffer[IDX_SETTINGS_MAX_FRAME_SIZE]; - DEBUG_HTTP2SESSION2(session, "setting max frame size: %d\n", val); + DEBUG_HTTP2SESSION2(session_, "setting max frame size: %d\n", val); entries_[n].settings_id = NGHTTP2_SETTINGS_MAX_FRAME_SIZE; entries_[n].value = val; n++; @@ -198,7 +198,7 @@ void Http2Session::Http2Settings::Init() { if (flags & (1 << IDX_SETTINGS_INITIAL_WINDOW_SIZE)) { uint32_t val = buffer[IDX_SETTINGS_INITIAL_WINDOW_SIZE]; - DEBUG_HTTP2SESSION2(session, "setting initial window size: %d\n", val); + DEBUG_HTTP2SESSION2(session_, "setting initial window size: %d\n", val); entries_[n].settings_id = NGHTTP2_SETTINGS_INITIAL_WINDOW_SIZE; entries_[n].value = val; n++; @@ -206,7 +206,7 @@ void Http2Session::Http2Settings::Init() { if (flags & (1 << IDX_SETTINGS_MAX_HEADER_LIST_SIZE)) { uint32_t val = buffer[IDX_SETTINGS_MAX_HEADER_LIST_SIZE]; - DEBUG_HTTP2SESSION2(session, "setting max header list size: %d\n", val); + DEBUG_HTTP2SESSION2(session_, "setting max header list size: %d\n", val); entries_[n].settings_id = NGHTTP2_SETTINGS_MAX_HEADER_LIST_SIZE; entries_[n].value = val; n++; @@ -214,7 +214,7 @@ void Http2Session::Http2Settings::Init() { if (flags & (1 << IDX_SETTINGS_ENABLE_PUSH)) { uint32_t val = buffer[IDX_SETTINGS_ENABLE_PUSH]; - DEBUG_HTTP2SESSION2(session, "setting enable push: %d\n", val); + DEBUG_HTTP2SESSION2(session_, "setting enable push: %d\n", val); entries_[n].settings_id = NGHTTP2_SETTINGS_ENABLE_PUSH; entries_[n].value = val; n++;