From 5f59a34ab747dde8ede7357f3431bf06bd6002fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sun, 8 Mar 2026 17:28:33 +0100 Subject: New upstream version 1.4.2 --- tests/sleep.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'tests/sleep.c') diff --git a/tests/sleep.c b/tests/sleep.c index d7c0b38e..6192a8dd 100644 --- a/tests/sleep.c +++ b/tests/sleep.c @@ -1,5 +1,5 @@ /* Pausing execution of the current thread. - Copyright (C) 2007, 2009-2025 Free Software Foundation, Inc. + Copyright (C) 2007, 2009-2026 Free Software Foundation, Inc. Written by Bruno Haible , 2007. This file is free software: you can redistribute it and/or modify @@ -58,9 +58,8 @@ rpl_sleep (unsigned int seconds) const unsigned int limit = 24 * 24 * 60 * 60; while (limit < seconds) { - unsigned int result; seconds -= limit; - result = sleep (limit); + unsigned int result = sleep (limit); if (result) return seconds + result; } -- cgit v1.2.3