For example when a URL is not specified or the headers file fails to
open.
int res = 0;
unsigned long li;
- bool orig_noprogress;
- bool orig_isatty;
+ /* Save the values of noprogress and isatty to restore them later on */
+ bool orig_noprogress = global->noprogress;
+ bool orig_isatty = global->isatty;
errorbuffer[0] = '\0';
}
}
- /* save the values of noprogress and isatty to restore them later on */
- orig_noprogress = global->noprogress;
- orig_isatty = global->isatty;
-
/*
** Nested loops start here.
*/