summaryrefslogtreecommitdiff
path: root/src/tool_easysrc.c
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2014-03-01 13:38:00 +0000
committerSteve Holme <steve_holme@hotmail.com>2014-03-01 17:23:14 +0000
commitf1a9e6858e6f2cd7ff54eac79df02640f0624a2a (patch)
tree08814cb1602da6a65d793773a77f9a7449f460c5 /src/tool_easysrc.c
parent75e996f29f1855d47299cf29f96507cd78d5aff1 (diff)
downloadcurl-f1a9e6858e6f2cd7ff54eac79df02640f0624a2a.tar.gz
tool: Moved --libcurl to the global config
Diffstat (limited to 'src/tool_easysrc.c')
-rw-r--r--src/tool_easysrc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tool_easysrc.c b/src/tool_easysrc.c
index bcf2f63fe..bf44b1c5c 100644
--- a/src/tool_easysrc.c
+++ b/src/tool_easysrc.c
@@ -165,7 +165,7 @@ CURLcode easysrc_cleanup(void)
return CURLE_OK;
}
-void dumpeasysrc(struct OperationConfig *config)
+void dumpeasysrc(struct GlobalConfig *config)
{
struct curl_slist *ptr;
char *o = config->libcurl;
@@ -180,7 +180,7 @@ void dumpeasysrc(struct OperationConfig *config)
else
out = stdout;
if(!out)
- warnf(config, "Failed to open %s to write libcurl code!\n", o);
+ warnf(config->current, "Failed to open %s to write libcurl code!\n", o);
else {
int i;
const char *c;