mirror of
https://github.com/curl/curl.git
synced 2026-08-25 03:43:31 +03:00
tool: Moved --trace and --verbose to the global config
This commit is contained in:
parent
fd97c17bb7
commit
4efa1d29e2
6 changed files with 35 additions and 29 deletions
|
|
@ -1147,7 +1147,7 @@ static CURLcode operate_do(struct GlobalConfig *global,
|
|||
/* disable it */
|
||||
my_setopt(curl, CURLOPT_FTP_USE_EPRT, 0L);
|
||||
|
||||
if(config->tracetype != TRACE_NONE) {
|
||||
if(global->tracetype != TRACE_NONE) {
|
||||
my_setopt(curl, CURLOPT_DEBUGFUNCTION, tool_debug_cb);
|
||||
my_setopt(curl, CURLOPT_DEBUGDATA, config);
|
||||
my_setopt(curl, CURLOPT_VERBOSE, 1L);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue