From: Jay Satiro Date: Thu, 18 Sep 2025 15:38:20 +0000 (-0400) Subject: tool_operate: Improve wording in retry message X-Git-Tag: rc-8_17_0-2~464 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ce354d0f4d251371f65f1770d95bba1d926de421;p=thirdparty%2Fcurl.git 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 --- diff --git a/src/tool_operate.c b/src/tool_operate.c index 4337cdee60..75926d704b 100644 --- a/src/tool_operate.c +++ b/src/tool_operate.c @@ -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"));