diff options
author | Daniel Stenberg <daniel@haxx.se> | 2001-01-08 14:48:34 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2001-01-08 14:48:34 +0000 |
commit | 39e939a5079d39998558fc862b075372d4ed44c3 (patch) | |
tree | de5acacb8607f36278b61e6c5a2b73473d11881a | |
parent | 803005892cf16672a5a235004699db68d5be985a (diff) |
corrected the separator when using URL globbing
-rw-r--r-- | src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c index a47d50795..fa49688d8 100644 --- a/src/main.c +++ b/src/main.c @@ -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; } |