return false -> return -1

This commit is contained in:
Benjamin Sergeant 2019-01-06 18:10:39 -08:00
parent f4f30686c5
commit 6deaa03114

View File

@ -89,7 +89,7 @@ namespace ix
{
closeSocket(fd);
errMsg = "Cancelled";
return false;
return -1;
}
select(fd + 1, nullptr, &wfds, &efds, &timeout);