mirror of
https://github.com/curl/curl.git
synced 2026-08-26 04:33:32 +03:00
curl: move fprintf outputs to warnf
For setting and getting time of the download. To make the outputs respect --silent etc. Reported-by: Viktor Szakats Fixes #6533 Closes #6535
This commit is contained in:
parent
d3ca0771d2
commit
71acece933
4 changed files with 41 additions and 47 deletions
|
|
@ -644,7 +644,7 @@ static CURLcode post_per_transfer(struct GlobalConfig *global,
|
|||
/* Ask libcurl if we got a remote file time */
|
||||
curl_off_t filetime = -1;
|
||||
curl_easy_getinfo(curl, CURLINFO_FILETIME_T, &filetime);
|
||||
setfiletime(filetime, outs->filename, config->global->errors);
|
||||
setfiletime(filetime, outs->filename, global);
|
||||
}
|
||||
|
||||
/* Close function-local opened file descriptors */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue