ext/libuv/src/win/getaddrinfo.c in libuv-3.1.4 vs ext/libuv/src/win/getaddrinfo.c in libuv-3.1.5

- old
+ new

@@ -263,14 +263,12 @@ if (req == NULL || (node == NULL && service == NULL)) { return UV_EINVAL; } - uv_req_init(loop, (uv_req_t*)req); - + UV_REQ_INIT(req, UV_GETADDRINFO); req->getaddrinfo_cb = getaddrinfo_cb; req->addrinfo = NULL; - req->type = UV_GETADDRINFO; req->loop = loop; req->retcode = 0; /* calculate required memory size for all input values */ if (node != NULL) {