unix: translate ETIMEDOUT to UV_ETIMEDOUT
This commit is contained in:
parent
60630dab0f
commit
248ca5d612
@ -82,6 +82,7 @@ uv_err_code uv_translate_sys_error(int sys_errno) {
|
||||
case EHOSTUNREACH: return UV_EHOSTUNREACH;
|
||||
case EAI_NONAME: return UV_ENOENT;
|
||||
case ESRCH: return UV_ESRCH;
|
||||
case ETIMEDOUT: return UV_ETIMEDOUT;
|
||||
default: return UV_UNKNOWN;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user