tool: Moved --libcurl to the global config

This commit is contained in:
Steve Holme 2014-03-01 13:38:00 +00:00
parent 75e996f29f
commit f1a9e6858e
8 changed files with 29 additions and 28 deletions

View file

@ -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;