0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-11-08 12:18:42 +00:00

Delay user input whereever appropriate.

This commit is contained in:
Martin Mares 2000-05-29 22:16:04 +00:00
parent 4761efdb43
commit 9e85a5e6f2

View File

@ -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);