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:
6d88d58
)
remote-header-name: don't output filename when NULL
author
Daniel Stenberg
<daniel@haxx.se>
Thu, 16 Sep 2010 21:27:03 +0000
(23:27 +0200)
committer
Daniel Stenberg
<daniel@haxx.se>
Thu, 16 Sep 2010 21:27:03 +0000
(23:27 +0200)
src/main.c
patch
|
blob
|
history
diff --git
a/src/main.c
b/src/main.c
index
6332bf2
..
720f68c
100644
(file)
--- a/
src/main.c
+++ b/
src/main.c
@@
-5436,7
+5436,8
@@
operate(struct Configurable *config, int argc, argv_item_t argv[])
break;
}
- if (config->content_disposition && outs.stream && !config->mute)
+ if(config->content_disposition && outs.stream && !config->mute &&
+ outs.filename)
printf("curl: Saved to filename '%s'\n", outs.filename);
/* if retry-max-time is non-zero, make sure we haven't exceeded the