From 71acece933a4b8b7cf0e661b88380eaeacd8e43f Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 26 Jan 2021 16:52:03 +0100 Subject: 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 --- src/tool_operate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tool_operate.c') 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 */ -- cgit v1.2.1