diff options
author | 1998-12-21 03:31:35 +0000 | |
---|---|---|
committer | 1998-12-21 03:31:35 +0000 | |
commit | 376b59309475f233cdc3f4770b80b16a2b338efc (patch) | |
tree | e8d01f31f3372998f3b67b48f9f6dc37874506e9 | |
parent | Last months worth of work on isakmpd, lots done (diff) | |
download | wireguard-openbsd-376b59309475f233cdc3f4770b80b16a2b338efc.tar.xz wireguard-openbsd-376b59309475f233cdc3f4770b80b16a2b338efc.zip |
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? **/ |