mirror of
https://github.com/curl/curl.git
synced 2026-08-26 21:24:08 +03:00
sendf: move the verbose-check into Curl_debug
Saves us from having the same check done everywhere. Closes #6159
This commit is contained in:
parent
606d213766
commit
d70a5b5a0f
11 changed files with 103 additions and 138 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue