diff --git a/deps/uv/src/unix/core.c b/deps/uv/src/unix/core.c index 657397becf..24d10a10a5 100644 --- a/deps/uv/src/unix/core.c +++ b/deps/uv/src/unix/core.c @@ -317,8 +317,7 @@ static int uv_getaddrinfo_done(eio_req* req_) { uv_getaddrinfo_t* req = req_->data; struct addrinfo *res = req->res; #if __sun - uv_getaddrinfo_t* handle = req->data; - size_t hostlen = strlen(handle->hostname); + size_t hostlen = strlen(req->hostname); #endif req->res = NULL;