return false -> return -1

This commit is contained in:
Benjamin Sergeant 2019-01-06 18:10:39 -08:00
parent 791c3701d7
commit 49bc156a56

View File

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