mirror of
https://github.com/mirror/wget.git
synced 2025-02-08 02:30:17 +08:00
Fix xsleep() for Windows (trivial change)
* src/mswindows.c (xsleep): Fix check for number of seconds
This commit is contained in:
parent
96ab9cad88
commit
42cc84b6b6
@ -62,7 +62,7 @@ void
|
|||||||
xsleep (double seconds)
|
xsleep (double seconds)
|
||||||
{
|
{
|
||||||
#if defined(HAVE_USLEEP) && defined(HAVE_SLEEP)
|
#if defined(HAVE_USLEEP) && defined(HAVE_SLEEP)
|
||||||
if (seconds > 1000)
|
if (seconds >= 1)
|
||||||
{
|
{
|
||||||
/* Explained in utils.c. */
|
/* Explained in utils.c. */
|
||||||
sleep (seconds);
|
sleep (seconds);
|
||||||
|
Loading…
Reference in New Issue
Block a user