return false -> return -1
This commit is contained in:
parent
f4f30686c5
commit
6deaa03114
@ -89,7 +89,7 @@ namespace ix
|
|||||||
{
|
{
|
||||||
closeSocket(fd);
|
closeSocket(fd);
|
||||||
errMsg = "Cancelled";
|
errMsg = "Cancelled";
|
||||||
return false;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
select(fd + 1, nullptr, &wfds, &efds, &timeout);
|
select(fd + 1, nullptr, &wfds, &efds, &timeout);
|
||||||
|
Loading…
Reference in New Issue
Block a user