diff options
Diffstat (limited to 'lib/select.c')
-rw-r--r-- | lib/select.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/select.c b/lib/select.c index 991f475431..6b6ca4154c 100644 --- a/lib/select.c +++ b/lib/select.c @@ -516,7 +516,7 @@ restart: goto restart; } if (timeout && wait_timeout == 0 && rc == 0) - timeout = (struct timeval) {0}; + timeout->tv_sec = timeout->tv_usec = 0; } /* Now fill in the results. */ |