aboutsummaryrefslogtreecommitdiff
path: root/src/tool_cfgable.h
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2014-03-01 13:00:31 +0000
committerSteve Holme <steve_holme@hotmail.com>2014-03-01 13:03:20 +0000
commit5513bbd5c38e5128dd943c28417da29f2c6f9101 (patch)
treea1413ff88a25620d170e84c7c000237bfc0fdb80 /src/tool_cfgable.h
parent1f077181234525832e0fcae38f7ff4f344f4b010 (diff)
tool: Moved --stderr to the global config
Diffstat (limited to 'src/tool_cfgable.h')
-rw-r--r--src/tool_cfgable.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tool_cfgable.h b/src/tool_cfgable.h
index d7493431a..efbba0f2f 100644
--- a/src/tool_cfgable.h
+++ b/src/tool_cfgable.h
@@ -138,8 +138,6 @@ struct OperationConfig {
bool proxyanyauth;
char *writeout; /* %-styled format string to output */
bool writeenv; /* write results to environment, if available */
- FILE *errors; /* errors stream, defaults to stderr */
- bool errors_fopened; /* whether errors stream isn't stderr */
struct curl_slist *quote;
struct curl_slist *postquote;
struct curl_slist *prequote;
@@ -220,6 +218,8 @@ struct GlobalConfig {
0 => -s is used to NOT show errors
1 => -S has been used to show errors */
bool mute; /* don't show messages, --silent given */
+ FILE *errors; /* Error stream, defaults to stderr */
+ bool errors_fopened; /* Whether error stream isn't stderr */
char *trace_dump; /* file to dump the network trace to */
FILE *trace_stream;
bool trace_fopened;