Fix case when after INCOMING_MAX overflow no listen events requested to be provided by poll().

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3088 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Vladislav Bolkhovitin
2010-12-15 15:48:51 +00:00
parent 1c18e2faf2
commit e24296ad98
-2
View File
@@ -302,8 +302,6 @@ static void accept_connection(int listen)
pollfd->revents = 0;
incoming_cnt++;
if (incoming_cnt >= INCOMING_MAX)
poll_array[POLL_LISTEN].events = 0;
out:
return;