mirror of
https://github.com/curl/curl.git
synced 2026-08-26 09:23:31 +03:00
tool: Moved --stderr to the global config
This commit is contained in:
parent
1f07718123
commit
5513bbd5c3
12 changed files with 69 additions and 68 deletions
|
|
@ -30,7 +30,6 @@ void config_init(struct OperationConfig* config)
|
|||
{
|
||||
memset(config, 0, sizeof(struct OperationConfig));
|
||||
|
||||
config->errors = stderr; /* default errors to stderr */
|
||||
config->postfieldsize = -1;
|
||||
config->use_httpget = FALSE;
|
||||
config->create_dirs = FALSE;
|
||||
|
|
@ -116,10 +115,6 @@ static void free_config_fields(struct OperationConfig *config)
|
|||
|
||||
Curl_safefree(config->writeout);
|
||||
|
||||
if(config->errors_fopened && config->errors)
|
||||
fclose(config->errors);
|
||||
config->errors = NULL;
|
||||
|
||||
curl_slist_free_all(config->quote);
|
||||
curl_slist_free_all(config->postquote);
|
||||
curl_slist_free_all(config->prequote);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue