Revert "nfqws,tpws: fflush stdin,stdout"

This reverts commit a6efe05aa6.
This commit is contained in:
bol-van
2025-03-12 12:48:18 +03:00
parent a6efe05aa6
commit 56d06456fb
2 changed files with 6 additions and 8 deletions

View File

@@ -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: