aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 86d43383d..985e2b7f5 100644
--- a/src/main.c
+++ b/src/main.c
@@ -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);