summaryrefslogtreecommitdiff
path: root/lib/http2.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2020-11-02 17:34:04 +0100
committerDaniel Stenberg <daniel@haxx.se>2020-11-02 22:49:36 +0100
commitd70a5b5a0f5e36781a39e2c955139c81d41355c1 (patch)
tree54bb308146bdbd9e8da1fd228b8757967ac8014e /lib/http2.c
parent606d213766fb94a4653ec41ef3b91cc0a96b9570 (diff)
downloadcurl-d70a5b5a0f5e36781a39e2c955139c81d41355c1.tar.gz
sendf: move the verbose-check into Curl_debug
Saves us from having the same check done everywhere. Closes #6159
Diffstat (limited to 'lib/http2.c')
-rw-r--r--lib/http2.c3
1 files changed, 1 insertions, 2 deletions
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) {