Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

deps: cherry-pick libuv commit 4690204

libuv cannot be upgraded right now (API change in upstream libuv) but this
commit fixes a segmentation fault on SunOS systems, hence the cherry-pick.
  • Loading branch information...
bnoordhuis committed May 28, 2012
1 parent f721d02 commit 0bd410a66a379b6dbd1fa1458829a0aa623c5363
Showing with 1 addition and 2 deletions.
  1. +1 −2 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;

0 comments on commit 0bd410a

Please sign in to comment.
You can’t perform that action at this time.