From: Daniel Stenberg Date: Fri, 13 Aug 2021 14:46:22 +0000 (+0200) Subject: c-hyper: fix header value passed to debug callback X-Git-Tag: curl-7_79_0~125 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e0b6f705e7e12165328d6ef2e3ec178a0ba47f4;p=thirdparty%2Fcurl.git c-hyper: fix header value passed to debug callback Closes #7567 --- diff --git a/lib/c-hyper.c b/lib/c-hyper.c index b6d4f49c49..9ad76991c2 100644 --- a/lib/c-hyper.c +++ b/lib/c-hyper.c @@ -524,7 +524,7 @@ CURLcode Curl_hyper_header(struct Curl_easy *data, hyper_headers *headers, free(ptr); } else - Curl_debug(data, CURLINFO_HEADER_OUT, (char *)line, linelen); + Curl_debug(data, CURLINFO_HEADER_OUT, (char *)n, linelen); } numh++; n += linelen;