aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsteini2000 <36340755+steini2000@users.noreply.github.com>2018-05-14 17:40:48 +0200
committerDaniel Stenberg <daniel@haxx.se>2018-05-14 23:13:44 +0200
commitd6dd322d7ab2029ef982be7e148e2e7671c015ca (patch)
tree2cea80649589bde586020865781372b761e05905
parentc0f704dbae32c6e1c9bb5325d6317fca67de04f5 (diff)
http2: use easy handle of stream for logging
-rw-r--r--lib/http2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/http2.c b/lib/http2.c
index ef93e6560..92cb3b62c 100644
--- a/lib/http2.c
+++ b/lib/http2.c
@@ -602,7 +602,7 @@ static int on_frame_recv(nghttp2_session *session, const nghttp2_frame *frame,
stream = data_s->req.protop;
if(!stream) {
- H2BUGF(infof(conn->data, "No proto pointer for stream: %x\n",
+ H2BUGF(infof(data_s, "No proto pointer for stream: %x\n",
stream_id));
return NGHTTP2_ERR_CALLBACK_FAILURE;
}
@@ -680,7 +680,7 @@ static int on_frame_recv(nghttp2_session *session, const nghttp2_frame *frame,
}
break;
default:
- H2BUGF(infof(conn->data, "Got frame type %x for stream %u!\n",
+ H2BUGF(infof(data_s, "Got frame type %x for stream %u!\n",
frame->hd.type, stream_id));
break;
}