mirror of
https://github.com/curl/curl.git
synced 2026-06-02 01:34:37 +03:00
corrected the separator when using URL globbing
This commit is contained in:
parent
803005892c
commit
39e939a507
1 changed files with 1 additions and 1 deletions
|
|
@ -1530,7 +1530,7 @@ operate(struct Configurable *config, int argc, char *argv[])
|
|||
/* save outfile pattern before expansion */
|
||||
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! */
|
||||
separator = 1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue