Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix windows build
  • Loading branch information
piscisaureus committed Oct 20, 2011
1 parent 145aa63 commit 00bbe95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cares_wrap.cc
Expand Up @@ -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);
Expand Down

0 comments on commit 00bbe95

Please sign in to comment.