summaryrefslogtreecommitdiff
path: root/src/tool_operate.c
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2014-02-23 16:04:39 +0000
committerSteve Holme <steve_holme@hotmail.com>2014-02-25 19:38:17 +0000
commit0704dd770d545271ff11210e983a434a043738a7 (patch)
treebf9534d4e28993994a46964db6b75efa3d078de3 /src/tool_operate.c
parentad388a7d37c7cd610155af84d4f88d1cf36e3f5b (diff)
downloadcurl-0704dd770d545271ff11210e983a434a043738a7.tar.gz
tool_getparam: Added global config to getparameter()
In preparation for parsing global options added the GlobalConfig structure to the getparameter() function.
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 6458c11a9..2fb945310 100644
--- a/src/tool_operate.c
+++ b/src/tool_operate.c
@@ -1789,7 +1789,7 @@ CURLcode operate(struct GlobalConfig *config, int argc, argv_item_t argv[])
/* Parse .curlrc if necessary */
if((argc == 1) || (!curlx_strequal(argv[1], "-q"))) {
- parseconfig(NULL, config->first); /* ignore possible failure */
+ parseconfig(NULL, config); /* ignore possible failure */
/* If we had no arguments then make sure a url was specified in .curlrc */
if((argc < 2) && (!config->first->url_list)) {