Update talk to 59039880.
R=mallinath@webrtc.org Review URL: https://webrtc-codereview.appspot.com/6569004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@5339 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@@ -40,6 +40,11 @@ namespace talk_base {
|
||||
|
||||
int ResolveHostname(const std::string& hostname, int family,
|
||||
std::vector<IPAddress>* addresses) {
|
||||
#ifdef __native_client__
|
||||
ASSERT(false);
|
||||
LOG(LS_WARNING) << "ResolveHostname() is not implemented for NaCl";
|
||||
return -1;
|
||||
#else // __native_client__
|
||||
if (!addresses) {
|
||||
return -1;
|
||||
}
|
||||
@@ -64,6 +69,7 @@ int ResolveHostname(const std::string& hostname, int family,
|
||||
}
|
||||
freeaddrinfo(result);
|
||||
return 0;
|
||||
#endif // !__native_client__
|
||||
}
|
||||
|
||||
// AsyncResolver
|
||||
|
||||
Reference in New Issue
Block a user