summaryrefslogtreecommitdiff
path: root/src/tool_cfgable.h
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2011-09-21 01:54:14 +0200
committerYang Tse <yangsita@gmail.com>2011-09-21 01:54:14 +0200
commit9ecf53e1544e90aeb2e667fdbbc84f05e341cc07 (patch)
treecef553b5404f002fab5b9389ac66a5888feb9dee /src/tool_cfgable.h
parent84221006c9acf2b97a80564364df22e03184a1d8 (diff)
downloadcurl-9ecf53e1544e90aeb2e667fdbbc84f05e341cc07.tar.gz
curl tool: reviewed code moved to tool_*.[ch] files
my_setopt and my_setopt_str no longer ignores curl_easy_setopt result. Fixed some OOM handling issues.
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 f99910a1a..c324be935 100644
--- a/src/tool_cfgable.h
+++ b/src/tool_cfgable.h
@@ -91,7 +91,7 @@ struct Configurable {
bool netrc_opt;
bool netrc;
char *netrc_file;
- bool noprogress;
+ bool noprogress; /* don't show progress meter, --silent given */
bool isatty; /* updated internally only if output is a tty */
struct getout *url_list; /* point to the first node */
struct getout *url_last; /* point to the last/current node */
@@ -119,7 +119,7 @@ struct Configurable {
trace tracetype;
bool tracetime; /* include timestamp? */
long httpversion;
- int progressmode;
+ int progressmode; /* CURL_PROGRESS_BAR or CURL_PROGRESS_STATS */
bool nobuffer;
bool readbusy; /* set when reading input returns EAGAIN */
bool globoff;