projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1cdc66d
)
possibly uninitialized variable
author
Daniel Stenberg
<daniel@haxx.se>
Tue, 28 Oct 2003 09:28:11 +0000
(09:28 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Tue, 28 Oct 2003 09:28:11 +0000
(09:28 +0000)
src/main.c
patch
|
blob
|
history
diff --git
a/src/main.c
b/src/main.c
index
86d4338
..
985e2b7
100644
(file)
--- 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);