summaryrefslogtreecommitdiff
path: root/deps/uv/src/unix/getnameinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'deps/uv/src/unix/getnameinfo.c')
-rw-r--r--deps/uv/src/unix/getnameinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/deps/uv/src/unix/getnameinfo.c b/deps/uv/src/unix/getnameinfo.c
index daa798a450..9a4367224c 100644
--- a/deps/uv/src/unix/getnameinfo.c
+++ b/deps/uv/src/unix/getnameinfo.c
@@ -61,7 +61,7 @@ static void uv__getnameinfo_done(struct uv__work* w, int status) {
uv__req_unregister(req->loop, req);
host = service = NULL;
- if (status == -ECANCELED) {
+ if (status == UV_ECANCELED) {
assert(req->retcode == 0);
req->retcode = UV_EAI_CANCELED;
} else if (req->retcode == 0) {