From d70a5b5a0f5e36781a39e2c955139c81d41355c1 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 2 Nov 2020 17:34:04 +0100 Subject: sendf: move the verbose-check into Curl_debug Saves us from having the same check done everywhere. Closes #6159 --- lib/http2.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib/http2.c') diff --git a/lib/http2.c b/lib/http2.c index 925d9828b..3c14109d4 100644 --- a/lib/http2.c +++ b/lib/http2.c @@ -1496,8 +1496,7 @@ static ssize_t http2_handle_stream_close(struct connectdata *conn, break; len = lf + 1 - trailp; - if(data->set.verbose) - Curl_debug(data, CURLINFO_HEADER_IN, trailp, len); + Curl_debug(data, CURLINFO_HEADER_IN, trailp, len); /* pass the trailers one by one to the callback */ result = Curl_client_write(conn, CLIENTWRITE_HEADER, trailp, len); if(result) { -- cgit v1.2.1