diff options
author | Steve Holme <steve_holme@hotmail.com> | 2014-03-01 13:00:31 +0000 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2014-03-01 13:03:20 +0000 |
commit | 5513bbd5c38e5128dd943c28417da29f2c6f9101 (patch) | |
tree | a1413ff88a25620d170e84c7c000237bfc0fdb80 /src/tool_cfgable.c | |
parent | 1f077181234525832e0fcae38f7ff4f344f4b010 (diff) | |
download | curl-5513bbd5c38e5128dd943c28417da29f2c6f9101.tar.gz |
tool: Moved --stderr to the global config
Diffstat (limited to 'src/tool_cfgable.c')
-rw-r--r-- | src/tool_cfgable.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/tool_cfgable.c b/src/tool_cfgable.c index 6ca06ff01..444cddc42 100644 --- a/src/tool_cfgable.c +++ b/src/tool_cfgable.c @@ -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); |