From 208abd8cc58a76d13fb11098273ec8c5862c641c Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Fri, 6 Feb 2015 01:18:23 +0900 Subject: [PATCH] Fix debug output --- lib/nghttp2_session.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/nghttp2_session.c b/lib/nghttp2_session.c index 767cb6f4..4254a2e9 100644 --- a/lib/nghttp2_session.c +++ b/lib/nghttp2_session.c @@ -2742,7 +2742,7 @@ static ssize_t nghttp2_session_mem_send_internal(nghttp2_session *session, DEBUGF(fprintf(stderr, "send: start transmitting frame type=%u, length=%zd\n", - framebufs->cur->buf.pos[2], + framebufs->cur->buf.pos[3], framebufs->cur->buf.last - framebufs->cur->buf.pos)); aob->state = NGHTTP2_OB_SEND_DATA;