diff options
author | Daniel Stenberg <daniel@haxx.se> | 2021-01-26 16:52:03 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-01-27 08:45:02 +0100 |
commit | 71acece933a4b8b7cf0e661b88380eaeacd8e43f (patch) | |
tree | 6c904378f1f02e134677c8fb943a33020175eb95 /src/tool_operate.c | |
parent | d3ca0771d212c4c94787b43748600efc8a4a0951 (diff) | |
download | curl-71acece933a4b8b7cf0e661b88380eaeacd8e43f.tar.gz |
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
Diffstat (limited to 'src/tool_operate.c')
-rw-r--r-- | src/tool_operate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tool_operate.c b/src/tool_operate.c index 2c1db7a9e..7a1407fbb 100644 --- a/src/tool_operate.c +++ b/src/tool_operate.c @@ -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 */ |