summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2000-05-30 00:16:04 +0200
committerMartin Mares <mj@ucw.cz>2000-05-30 00:16:04 +0200
commit9e85a5e6f26866a255577ff10786c12a64cba624 (patch)
tree52b2b5510a5fa03501e91af7117934d172da7acb /client
parent4761efdb43aa128fa0326963d88debe8fb942c84 (diff)
downloadbird-9e85a5e6f26866a255577ff10786c12a64cba624.tar
bird-9e85a5e6f26866a255577ff10786c12a64cba624.zip
Delay user input whereever appropriate.
Diffstat (limited to 'client')
-rw-r--r--client/client.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/client/client.c b/client/client.c
index c57627f..ea44cdd 100644
--- a/client/client.c
+++ b/client/client.c
@@ -307,6 +307,7 @@ io_loop(int mode)
server_reply = -1;
while (mode || server_reply < 0)
{
+ FD_ZERO(&select_fds);
FD_SET(server_fd, &select_fds);
if (mode)
FD_SET(0, &select_fds);