This commit is contained in:
Daniel Stenberg 2000-06-14 14:26:53 +00:00
Π ΠΎΠ΄ΠΈΡ‚Π΅Π»ΡŒ ec520ceefd
ΠšΠΎΠΌΠΌΠΈΡ‚ 3e20192ff2
1 ΠΈΠ·ΠΌΠ΅Π½Ρ‘Π½Π½Ρ‹Ρ… Ρ„Π°ΠΉΠ»ΠΎΠ²: 5 Π΄ΠΎΠ±Π°Π²Π»Π΅Π½ΠΈΠΉ ΠΈ 3 ΡƒΠ΄Π°Π»Π΅Π½ΠΈΠΉ

ΠŸΡ€ΠΎΡΠΌΠΎΡ‚Ρ€Π΅Ρ‚ΡŒ Ρ„Π°ΠΉΠ»

@ -895,6 +895,8 @@ static int parseconfig(char *filename,
free(tok2);
break;
}
if(res)
break; /* error detected */
}
free(line);
@ -945,7 +947,7 @@ int main(int argc, char *argv[])
URLGlob *urls;
int urlnum;
char *outfiles = NULL;
char *outfiles;
int separator = 0;
FILE *infd = stdin;
@ -955,7 +957,7 @@ int main(int argc, char *argv[])
bool stillflags=TRUE;
CURL *curl;
int res=CURLE_OK;
int res;
int i;
outs.stream = stdout;
@ -1199,7 +1201,7 @@ int main(int argc, char *argv[])
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 );