diff options
author | Daniel Stenberg <daniel@haxx.se> | 2020-05-20 13:21:00 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2020-05-20 13:21:00 +0200 |
commit | d3c58c5bebc6b40bdac8d7fe84a110e28084eadf (patch) | |
tree | ac0fb723c84bb6a92c957ca4a73b7c124eb24f5e | |
parent | c9fddf64c65a38c9dc8ba4f78e78d072dc8a90da (diff) | |
download | curl-d3c58c5bebc6b40bdac8d7fe84a110e28084eadf.tar.gz |
curl: remove -J "informational" on stdout
curl would previously show "curl: Saved to filename 'name from header'"
if -J was used and a name was picked from the Content-Disposition
header. That output could interfer with other stdout output, such as -w.
This commit removes that output line.
Bug: https://curl.haxx.se/mail/archive-2020-05/0044.html
Reported-by: Коваленко Анатолий Викторович
-rw-r--r-- | src/tool_operate.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/tool_operate.c b/src/tool_operate.c index 5d3ac7afe..6010a952f 100644 --- a/src/tool_operate.c +++ b/src/tool_operate.c @@ -425,10 +425,6 @@ static CURLcode post_per_transfer(struct GlobalConfig *global, metalink_parser_context_delete(outs->metalink_parser); #endif /* USE_METALINK */ - if(outs->is_cd_filename && outs->stream && !global->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 time */ if(per->retry_numretries && |