--- src/appl/telnet/telnetd/utility.c +++ src/appl/telnet/telnetd/utility.c 2006/11/06 10:34:09 @@ -127,6 +127,7 @@ } tv.tv_sec = 1; tv.tv_usec = 0; + FD_ZERO(&fds); FD_SET(net, &fds); while (select(net + 1, &fds, NULL, NULL, &tv) == 1)