mirror of
https://github.com/bol-van/zapret.git
synced 2025-05-24 22:32:58 +03:00
Revert "nfqws,tpws: fflush stdin,stdout"
This reverts commit a6efe05aa6
.
This commit is contained in:
@@ -1548,8 +1548,6 @@ int event_loop(const int *listen_fd, size_t listen_fd_ct)
|
||||
|
||||
DBGPRINT("epoll_wait\n");
|
||||
|
||||
fflush(stdout); fflush(stderr);
|
||||
|
||||
if ((num_events = epoll_wait(efd, events, MAX_EPOLL_EVENTS, -1)) == -1)
|
||||
{
|
||||
if (errno == EINTR) continue; // system call was interrupted
|
||||
@@ -1757,6 +1755,8 @@ int event_loop(const int *listen_fd, size_t listen_fd_ct)
|
||||
// at least one leg was removed. recount legs
|
||||
print_legs();
|
||||
}
|
||||
|
||||
fflush(stderr); fflush(stdout); // for console messages
|
||||
}
|
||||
|
||||
ex:
|
||||
|
Reference in New Issue
Block a user