Revert "nfqws,tpws: fflush stdin,stdout"

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

No files matched your search

+2 -2
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: