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:
parent
4761efdb43
commit
9e85a5e6f2
@ -307,6 +307,7 @@ io_loop(int mode)
|
|||||||
server_reply = -1;
|
server_reply = -1;
|
||||||
while (mode || server_reply < 0)
|
while (mode || server_reply < 0)
|
||||||
{
|
{
|
||||||
|
FD_ZERO(&select_fds);
|
||||||
FD_SET(server_fd, &select_fds);
|
FD_SET(server_fd, &select_fds);
|
||||||
if (mode)
|
if (mode)
|
||||||
FD_SET(0, &select_fds);
|
FD_SET(0, &select_fds);
|
||||||
|
Loading…
Reference in New Issue
Block a user