diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-12-21 03:31:36 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-12-21 03:31:36 +0000 |
commit | f41de3405cf7a0345920d0dccf46826618bfb88c (patch) | |
tree | 01920e9a3f06e2eaa41eb522a8e4e174b0465956 | |
parent | 0368e31221f66d22f0612fca6754934ebcf3ee14 (diff) |
cheaper select() call
-rw-r--r-- | gnu/usr.bin/lynx/src/LYUtils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/usr.bin/lynx/src/LYUtils.c b/gnu/usr.bin/lynx/src/LYUtils.c index c0d9ebc89a1..14643564843 100644 --- a/gnu/usr.bin/lynx/src/LYUtils.c +++ b/gnu/usr.bin/lynx/src/LYUtils.c @@ -2091,11 +2091,11 @@ PUBLIC int HTCheckForInterrupt NOARGS FD_SET(0, &readfds); #ifdef SOCKS if (socks_flag) - ret = Rselect(FD_SETSIZE, (void *)&readfds, NULL, NULL, + ret = Rselect(1, (void *)&readfds, NULL, NULL, &socket_timeout); else #endif /* SOCKS */ - ret = select(FD_SETSIZE, (void *)&readfds, NULL, NULL, + ret = select(1, (void *)&readfds, NULL, NULL, &socket_timeout); /** Suspended? **/ |