tool_operate.c: Fixed compilation error
authorSteve Holme <steve_holme@hotmail.com>
Sat, 1 Mar 2014 18:06:07 +0000 (18:06 +0000)
committerSteve Holme <steve_holme@hotmail.com>
Sat, 1 Mar 2014 18:14:16 +0000 (18:14 +0000)
incompatible types - from 'OperationConfig *' to 'GlobalConfig *'

src/tool_operate.c

index 2eeb51a..8e1b1a5 100644 (file)
@@ -1773,7 +1773,7 @@ static CURLcode operate_do(struct GlobalConfig *global,
   /* Dump the libcurl code if previously enabled.
      NOTE: that this function relies on config->errors amongst other things
      so not everything can be closed and cleaned before this is called */
-  dumpeasysrc(config);
+  dumpeasysrc(global);
 #endif
 
   /* Release metalink related resources here */