free(tok2);
break;
}
+ if(res)
+ break; /* error detected */
}
free(line);
URLGlob *urls;
int urlnum;
- char *outfiles = NULL;
+ char *outfiles;
int separator = 0;
FILE *infd = stdin;
bool stillflags=TRUE;
CURL *curl;
- int res=CURLE_OK;
+ int res;
int i;
outs.stream = stdout;
config.errors = stderr;
#ifdef WIN32
- if(!config.outfile && !(config.flags & CONF_GETTEXT)) {
+ if(!config.outfile && !(config.conf & CONF_GETTEXT)) {
/* We get the output to stdout and we have not got the ASCII/text flag,
then set stdout to be binary */
setmode( 1, O_BINARY );