summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2023-05-15 11:19:16 +0200
committerBruno Haible <bruno@clisp.org>2023-05-15 11:19:16 +0200
commitebd843b31b8f61d3f9dd250b41c237bf5f3e01a6 (patch)
treec8382b2294f69ecc0ef056fa5314d6f8bf8e25b9 /lib
parentc013d710ccd81fb5ef4702879d36754c39feb964 (diff)
downloadgnulib-ebd843b31b8f61d3f9dd250b41c237bf5f3e01a6.tar.gz
select: Fix compilation error (regression from yesterday).
* lib/select.c (rpl_select): Revert last change.
Diffstat (limited to 'lib')
-rw-r--r--lib/select.c2
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. */