Skip to content
This repository has been archived by the owner on May 4, 2018. It is now read-only.

Commit

Permalink
Win: get rid of UV_EAINONAME, use UV_ENOENT instead
Browse files Browse the repository at this point in the history
  • Loading branch information
piscisaureus committed Nov 25, 2011
1 parent b4698d4 commit 01f64f6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion include/uv.h
Expand Up @@ -111,7 +111,6 @@ typedef intptr_t ssize_t;
XX( 40, ETIMEDOUT, "connection timed out") \
XX( 41, ECHARSET, "") \
XX( 42, EAIFAMNOSUPPORT, "") \
XX( 43, EAINONAME, "") \
XX( 44, EAISERVICE, "") \
XX( 45, EAISOCKTYPE, "") \
XX( 46, ESHUTDOWN, "") \
Expand Down
2 changes: 1 addition & 1 deletion src/win/getaddrinfo.c
Expand Up @@ -66,7 +66,7 @@ static uv_err_code uv_translate_eai_error(int eai_errno) {
case EAI_FAIL: return UV_EFAULT;
case EAI_FAMILY: return UV_EAIFAMNOSUPPORT;
case EAI_MEMORY: return UV_ENOMEM;
case EAI_NONAME: return UV_EAINONAME;
case EAI_NONAME: return UV_ENOENT;
case EAI_AGAIN: return UV_EAGAIN;
case EAI_SERVICE: return UV_EAISERVICE;
case EAI_SOCKTYPE: return UV_EAISOCKTYPE;
Expand Down

0 comments on commit 01f64f6

Please sign in to comment.