1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

possibly uninitialized variable

This commit is contained in:
Daniel Stenberg 2003-10-28 09:28:11 +00:00
parent 1cdc66d927
commit 60ef75f2ee

View File

@ -2834,6 +2834,8 @@ operate(struct Configurable *config, int argc, char *argv[])
break;
}
}
else
urlnum = 1; /* without globbing, this is a single URL */
/* if multiple files extracted to stdout, insert separators! */
separator= ((!outfiles || curl_strequal(outfiles, "-")) && urlnum > 1);