Commit 39e939a5 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

corrected the separator when using URL globbing

parent 80300589
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
    }