aboutsummaryrefslogtreecommitdiff
path: root/src/tool_operate.c
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2014-02-27 20:51:49 +0000
committerSteve Holme <steve_holme@hotmail.com>2014-02-27 21:01:08 +0000
commit4efa1d29e274079ed75f4e93115008816e2dda9f (patch)
tree318e33b9db34811ebd3d21832bd635edf39f726d /src/tool_operate.c
parentfd97c17bb76aa3031026d6714e2f2409e9a1c3aa (diff)
tool: Moved --trace and --verbose to the global config
Diffstat (limited to 'src/tool_operate.c')
-rw-r--r--src/tool_operate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tool_operate.c b/src/tool_operate.c
index e48a2d595..67808d442 100644
--- a/src/tool_operate.c
+++ b/src/tool_operate.c
@@ -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);