From 9e85a5e6f26866a255577ff10786c12a64cba624 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Mon, 29 May 2000 22:16:04 +0000 Subject: [PATCH] Delay user input whereever appropriate. --- client/client.c | 1 + 1 file changed, 1 insertion(+) diff --git a/client/client.c b/client/client.c index c57627f4..ea44cdd8 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);