Permalink
Browse files

Fix windows build

  • Loading branch information...
1 parent 145aa63 commit 00bbe958c41749b08f724cd5ddcd94e60c35e0a2 @piscisaureus piscisaureus committed Oct 20, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/cares_wrap.cc
View
@@ -638,7 +638,7 @@ void AfterGetAddrInfo(uv_getaddrinfo_t* req, int status, struct addrinfo* res) {
addr = (address->ai_family == AF_INET ?
(char*) &((struct sockaddr_in*) address->ai_addr)->sin_addr :
(char*) &((struct sockaddr_in6*) address->ai_addr)->sin6_addr);
- const char* c = inet_ntop(address->ai_family, addr, ip, INET6_ADDRSTRLEN);
+ const char* c = uv_inet_ntop(address->ai_family, addr, ip, INET6_ADDRSTRLEN);
// Create JavaScript string
Local<String> s = String::New(c);

0 comments on commit 00bbe95

Please sign in to comment.