mirror of
https://github.com/curl/curl.git
synced 2026-07-31 09:18:03 +03:00
tool_operate: Improve wording in retry message
- Use the plural 'seconds' for anything other than exactly 1 second.
Before: Will retry in 1.250 second.
After: Will retry in 1.250 seconds.
Follow-up to ca034e83.
Closes https://github.com/curl/curl/pull/18604
This commit is contained in:
parent
54aff4db3c
commit
ce354d0f4d
1 changed files with 1 additions and 1 deletions
|
|
@ -480,7 +480,7 @@ static CURLcode retrycheck(struct OperationConfig *config,
|
|||
(sleeptime%1000L ? "." : ""),
|
||||
(sleeptime%1000L ? 3 : 0),
|
||||
sleeptime%1000L,
|
||||
(sleeptime/1000L == 1 ? "" : "s"),
|
||||
(sleeptime == 1000L ? "" : "s"),
|
||||
per->retry_remaining,
|
||||
(per->retry_remaining > 1 ? "ies" : "y"));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue