| Index: remoting/jingle_glue/ssl_socket_adapter.cc
|
| diff --git a/remoting/jingle_glue/ssl_socket_adapter.cc b/remoting/jingle_glue/ssl_socket_adapter.cc
|
| index b6b530dc5e367d45c54d90fb28ea8a9fe9097201..9e5ef86dd5c172306ba89e550dc1c89633ea333b 100644
|
| --- a/remoting/jingle_glue/ssl_socket_adapter.cc
|
| +++ b/remoting/jingle_glue/ssl_socket_adapter.cc
|
| @@ -217,11 +217,9 @@ bool TransportSocket::IsConnectedAndIdle() const {
|
| return false;
|
| }
|
|
|
| -int TransportSocket::GetPeerAddress(net::AddressList* address) const {
|
| +int TransportSocket::GetPeerAddress(net::IPEndPoint* address) const {
|
| talk_base::SocketAddress socket_address = socket_->GetRemoteAddress();
|
| - net::IPEndPoint endpoint;
|
| - if (jingle_glue::SocketAddressToIPEndPoint(socket_address, &endpoint)) {
|
| - *address = net::AddressList(endpoint);
|
| + if (jingle_glue::SocketAddressToIPEndPoint(socket_address, address)) {
|
| return net::OK;
|
| } else {
|
| return net::ERR_FAILED;
|
|
|