From: Daniel Stenberg Date: Mon, 4 May 2015 12:03:29 +0000 (+0200) Subject: http2: remove debug logging from on_frame_recv X-Git-Tag: curl-7_43_0~145 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ee3ad233a2698669af66e7af8c47fb4b2c92f6be;p=curl http2: remove debug logging from on_frame_recv --- diff --git a/lib/http2.c b/lib/http2.c index 49e9c7e68..1987c120e 100644 --- a/lib/http2.c +++ b/lib/http2.c @@ -278,14 +278,6 @@ static int on_frame_recv(nghttp2_session *session, const nghttp2_frame *frame, stream->len -= ncopy; stream->memlen += ncopy; - { - char backup = stream->mem[stream->memlen]; - stream->mem[stream->memlen] = 0; /* DEBUG, remove this */ - - DEBUGF(infof(data_s, "BUF: %s", stream->mem)); - stream->mem[stream->memlen] = backup; - } - data_s->state.drain++; break; case NGHTTP2_PUSH_PROMISE: