diff --git a/src/uv-unix.c b/src/uv-unix.c index 7e393ca44..eaf6a778e 100644 --- a/src/uv-unix.c +++ b/src/uv-unix.c @@ -1756,14 +1756,13 @@ static int uv_getaddrinfo_done(eio_req* req) { } -static int getaddrinfo_thread_proc(eio_req *req) { +static void getaddrinfo_thread_proc(eio_req *req) { uv_getaddrinfo_t* handle = req->data; handle->retcode = getaddrinfo(handle->hostname, handle->service, handle->hints, &handle->res); - return 0; }