removed why2_accept_thread close TODO

This commit is contained in:
Václav Šmejkal 2023-04-05 14:24:40 +02:00
parent 6a4034668b
commit afeafd78eb
Signed by: ENGO150
GPG Key ID: F6D6DF86242C5A59

View File

@ -449,7 +449,7 @@ void *why2_accept_thread(void *socket)
//LOOP ACCEPT
for (;;)
{
accepted = accept(*((int*) socket), (WHY2_SA *) NULL, NULL); //ACCEPT NEW SOCKET //TODO: CLOSE (not only this one)
accepted = accept(*((int*) socket), (WHY2_SA *) NULL, NULL); //ACCEPT NEW SOCKET
if (accepted == -1) continue;