... and orig_isatty which caused --silent to be entirely ignored in case
the standard output was redirected to a file!
int res = 0;
int i;
- bool orig_noprogress = config->noprogress;
- bool orig_isatty = config->isatty;
+ bool orig_noprogress;
+ bool orig_isatty;
errorbuffer[0] = '\0';
/* default headers output stream is stdout */
}
}
+ /* save the values of noprogress and isatty to restore them later on */
+ orig_noprogress = config->noprogress;
+ orig_isatty = config->isatty;
+
/*
** Nested loops start here.
*/