summaryrefslogtreecommitdiff
path: root/lib/http_proxy.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/http_proxy.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/http_proxy.c')
-rw-r--r--lib/http_proxy.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/http_proxy.c b/lib/http_proxy.c
index 7c34d2064..8d8bc853e 100644
--- a/lib/http_proxy.c
+++ b/lib/http_proxy.c
@@ -410,8 +410,7 @@ static CURLcode CONNECT(struct connectdata *conn,
return result;
/* output debug if that is requested */
- if(data->set.verbose)
- Curl_debug(data, CURLINFO_HEADER_IN, linep, perline);
+ Curl_debug(data, CURLINFO_HEADER_IN, linep, perline);
if(!data->set.suppress_connect_headers) {
/* send the header to the callback */