mirror of
https://github.com/curl/curl.git
synced 2026-08-12 10:30:52 +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
|
|
@ -2253,7 +2253,7 @@ ParameterError getparameter(const char *flag, /* f or -long-flag */
|
|||
config->condtime = (curl_off_t)curl_getdate(nextarg, &now);
|
||||
if(-1 == config->condtime) {
|
||||
/* now let's see if it is a file name to get the time from instead! */
|
||||
curl_off_t filetime = getfiletime(nextarg, config->global->errors);
|
||||
curl_off_t filetime = getfiletime(nextarg, global);
|
||||
if(filetime >= 0) {
|
||||
/* pull the time out from the file */
|
||||
config->condtime = filetime;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue