summaryrefslogtreecommitdiff
path: root/lib/dict.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/dict.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/dict.c')
-rw-r--r--lib/dict.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/dict.c b/lib/dict.c
index 8dd4a90f7..803f05696 100644
--- a/lib/dict.c
+++ b/lib/dict.c
@@ -156,8 +156,7 @@ static CURLcode sendf(curl_socket_t sockfd, struct connectdata *conn,
if(result)
break;
- if(data->set.verbose)
- Curl_debug(data, CURLINFO_DATA_OUT, sptr, (size_t)bytes_written);
+ Curl_debug(data, CURLINFO_DATA_OUT, sptr, (size_t)bytes_written);
if((size_t)bytes_written != write_len) {
/* if not all was written at once, we must advance the pointer, decrease