mirror of
https://github.com/curl/curl.git
synced 2026-08-14 00:10:55 +03:00
tool: Moved --libcurl to the global config
This commit is contained in:
parent
75e996f29f
commit
f1a9e6858e
8 changed files with 29 additions and 28 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue