diff options
author | ronghuawu@chromium.org <ronghuawu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-15 00:11:33 +0000 |
---|---|---|
committer | ronghuawu@chromium.org <ronghuawu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-15 00:11:33 +0000 |
commit | 248c31d0f7b9dc92cee27f1c6224244bfcbc38c1 (patch) | |
tree | bd9408999b0f0dab3dff6f3450b43fc2ed012742 /jingle/notifier | |
parent | b50828184503840d93876db2de2e171cd9ae2608 (diff) | |
download | chromium_src-248c31d0f7b9dc92cee27f1c6224244bfcbc38c1.zip chromium_src-248c31d0f7b9dc92cee27f1c6224244bfcbc38c1.tar.gz chromium_src-248c31d0f7b9dc92cee27f1c6224244bfcbc38c1.tar.bz2 |
Roll libjingle to r124. Removed overrides for the ws2 fixes.
Roll webrtc to 1888.
BUG=115702,117252
TEST=apprtc.appspot.com on windows and linux
Review URL: https://chromiumcodereview.appspot.com/9600066
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126793 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'jingle/notifier')
-rw-r--r-- | jingle/notifier/communicator/xmpp_connection_generator.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jingle/notifier/communicator/xmpp_connection_generator.cc b/jingle/notifier/communicator/xmpp_connection_generator.cc index 3a05d9c..d1a9404a 100644 --- a/jingle/notifier/communicator/xmpp_connection_generator.cc +++ b/jingle/notifier/communicator/xmpp_connection_generator.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // @@ -161,7 +161,7 @@ void XmppConnectionGenerator::HandleServerDNSResolved(int status) { 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(); |