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