| Index: jingle/notifier/communicator/xmpp_connection_generator.cc
|
| ===================================================================
|
| --- jingle/notifier/communicator/xmpp_connection_generator.cc (revision 124888)
|
| +++ jingle/notifier/communicator/xmpp_connection_generator.cc (working copy)
|
| @@ -161,7 +161,7 @@
|
| addr != NULL; addr = addr->ai_next) {
|
| const sockaddr_in& sockaddr =
|
| *reinterpret_cast<const sockaddr_in*>(addr->ai_addr);
|
| - uint32 ip = ntohl(sockaddr.sin_addr.s_addr);
|
| + uint32 ip = talk_base::NetworkToHost32(sockaddr.sin_addr.s_addr);
|
| ip_list.push_back(ip);
|
| }
|
| successfully_resolved_dns_ = !ip_list.empty();
|
|
|