Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3679)

Unified Diff: chrome/common/net/notifier/communicator/ssl_socket_adapter.cc

Issue 2255007: New libjingle integrated to chrome. (Closed)
Patch Set: - Created 10 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/common/net/notifier/communicator/ssl_socket_adapter.cc
diff --git a/chrome/common/net/notifier/communicator/ssl_socket_adapter.cc b/chrome/common/net/notifier/communicator/ssl_socket_adapter.cc
index 142686434526b1f32c44178544d87765eaee9f81..97422834bef98aa789cb487388bb6ead905931ae 100644
--- a/chrome/common/net/notifier/communicator/ssl_socket_adapter.cc
+++ b/chrome/common/net/notifier/communicator/ssl_socket_adapter.cc
@@ -95,7 +95,7 @@ int SSLSocketAdapter::BeginSSL() {
// are correct for us, so we don't use the config service to initialize this
// object.
net::SSLConfig ssl_config;
- transport_socket_->set_addr(talk_base::SocketAddress(hostname_.c_str()));
+ transport_socket_->set_addr(talk_base::SocketAddress(hostname_, 0));
ssl_socket_.reset(
net::ClientSocketFactory::GetDefaultFactory()->CreateSSLClientSocket(
transport_socket_, hostname_.c_str(), ssl_config));

Powered by Google App Engine
This is Rietveld 408576698