summaryrefslogtreecommitdiffstats
path: root/Utilities/cmlibuv/src/win/getnameinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'Utilities/cmlibuv/src/win/getnameinfo.c')
-rw-r--r--Utilities/cmlibuv/src/win/getnameinfo.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/Utilities/cmlibuv/src/win/getnameinfo.c b/Utilities/cmlibuv/src/win/getnameinfo.c
index 66b64b8..9f10cd2 100644
--- a/Utilities/cmlibuv/src/win/getnameinfo.c
+++ b/Utilities/cmlibuv/src/win/getnameinfo.c
@@ -127,12 +127,11 @@ int uv_getnameinfo(uv_loop_t* loop,
return UV_EINVAL;
}
- uv_req_init(loop, (uv_req_t*)req);
+ UV_REQ_INIT(req, UV_GETNAMEINFO);
uv__req_register(loop, req);
req->getnameinfo_cb = getnameinfo_cb;
req->flags = flags;
- req->type = UV_GETNAMEINFO;
req->loop = loop;
req->retcode = 0;