mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-06-07 13:35:00 +00:00
FS-5642 --resolve add back the ETIMEDOUT check, needed on Mac
This commit is contained in:
parent
9ec1e86574
commit
f5b18c0fdd
@ -809,7 +809,7 @@ int xp_errno(void)
|
|||||||
|
|
||||||
int xp_is_blocking(int errcode)
|
int xp_is_blocking(int errcode)
|
||||||
{
|
{
|
||||||
return errcode == EAGAIN || errcode == EWOULDBLOCK || errcode == EINPROGRESS || errcode == EINTR;
|
return errcode == EAGAIN || errcode == EWOULDBLOCK || errcode == EINPROGRESS || errcode == EINTR || errcode == ETIMEDOUT;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user