aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-10-28 09:28:11 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-10-28 09:28:11 +0000
commit60ef75f2ee4bdb5bf045112fb448c94789ae0fe5 (patch)
tree41161f149ccb56dc97390e956ffd8e007443c987 /src
parent1cdc66d927e6476f422ad3266c34ab766b1260ea (diff)
possibly uninitialized variable
Diffstat (limited to 'src')
-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);