diff options
Diffstat (limited to 'eBones/libexec/telnetd/utility.c')
-rw-r--r-- | eBones/libexec/telnetd/utility.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/eBones/libexec/telnetd/utility.c b/eBones/libexec/telnetd/utility.c index c8e34b8..b432fb2 100644 --- a/eBones/libexec/telnetd/utility.c +++ b/eBones/libexec/telnetd/utility.c @@ -103,6 +103,7 @@ stilloob(s) do { FD_ZERO(&excepts); FD_SET(s, &excepts); + memset((char *)&timeout, 0, sizeof timeout); value = select(s+1, (fd_set *)0, (fd_set *)0, &excepts, &timeout); } while ((value == -1) && (errno == EINTR)); |