diff --git a/os/connection.c b/os/connection.c index daad2ac8a..96ad11921 100644 --- a/os/connection.c +++ b/os/connection.c @@ -1019,7 +1019,7 @@ CheckConnections(void) FD_ZERO(&tmask); FD_SET(curclient, &tmask); r = Select (curclient + 1, &tmask, NULL, NULL, ¬ime); - if (r < 0) + if (r < 0 && GetConnectionTranslation(curclient) > 0) CloseDownClient(clients[GetConnectionTranslation(curclient)]); } #endif