'int' which fits better with existing CURL_PROGRESS_* definitions.
trace tracetype;
bool tracetime; /* include timestamp? */
long httpversion;
- bool progressmode;
+ int progressmode;
bool nobuffer;
bool readbusy; /* set when reading input returns EAGAIN */
bool globoff;
}
break;
case '#': /* --progress-bar */
- config->progressmode = (bool)(toggle?CURL_PROGRESS_BAR:0);
+ if(toggle)
+ config->progressmode = CURL_PROGRESS_BAR;
+ else
+ config->progressmode = CURL_PROGRESS_STATS;
break;
case '0':
/* HTTP version 1.0 */