diff --git a/src/net.c b/src/net.c index 9b60a314..f24d18ad 100644 --- a/src/net.c +++ b/src/net.c @@ -374,11 +374,10 @@ int main_loop(void) { dump_connections(); return 1; } - - continue; } - check_network_activity(&readset, &writeset); + if(r > 0) + check_network_activity(&readset, &writeset); if(do_purge) { purge();