mirror of
https://github.com/curl/curl.git
synced 2026-08-25 14:43:33 +03:00
curl: remove -J "informational" written 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: Коваленко Анатолий Викторович Closes #5435
This commit is contained in:
parent
421171a8d4
commit
006d2991bd
3 changed files with 4 additions and 8 deletions
|
|
@ -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 &&
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue