mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05:00
corrected the separator when using URL globbing
This commit is contained in:
parent
803005892c
commit
39e939a507
@ -1530,7 +1530,7 @@ operate(struct Configurable *config, int argc, char *argv[])
|
|||||||
/* save outfile pattern before expansion */
|
/* save outfile pattern before expansion */
|
||||||
outfiles = urlnode->outfile?strdup(urlnode->outfile):NULL;
|
outfiles = urlnode->outfile?strdup(urlnode->outfile):NULL;
|
||||||
|
|
||||||
if (outfiles && strequal(outfiles, "-") && urlnum > 1) {
|
if (!outfiles || strequal(outfiles, "-") && urlnum > 1) {
|
||||||
/* multiple files extracted to stdout, insert separators! */
|
/* multiple files extracted to stdout, insert separators! */
|
||||||
separator = 1;
|
separator = 1;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user