| Index: net/base/ip_endpoint.cc
|
| diff --git a/net/base/ip_endpoint.cc b/net/base/ip_endpoint.cc
|
| index a0d378ee4cc6e8e5b29cc668ca475e22a3ca5155..b09ecd00847a198fd0191dcf3d6ffbc67dd15df9 100644
|
| --- a/net/base/ip_endpoint.cc
|
| +++ b/net/base/ip_endpoint.cc
|
| @@ -21,13 +21,15 @@ const socklen_t kSockaddrInSize = sizeof(struct sockaddr_in);
|
| const socklen_t kSockaddrIn6Size = sizeof(struct sockaddr_in6);
|
| }
|
|
|
| -IPEndPoint::IPEndPoint() : port_(0) {}
|
| +IPEndPoint::IPEndPoint() : port_(0) {
|
| +}
|
|
|
| -IPEndPoint::~IPEndPoint() {}
|
| +IPEndPoint::~IPEndPoint() {
|
| +}
|
|
|
| IPEndPoint::IPEndPoint(const IPAddressNumber& address, int port)
|
| - : address_(address),
|
| - port_(port) {}
|
| + : address_(address), port_(port) {
|
| +}
|
|
|
| IPEndPoint::IPEndPoint(const IPEndPoint& endpoint) {
|
| address_ = endpoint.address_;
|
| @@ -91,8 +93,8 @@ bool IPEndPoint::FromSockAddr(const struct sockaddr* sock_addr,
|
| const uint8* address;
|
| size_t address_len;
|
| uint16 port;
|
| - if (!GetIPAddressFromSockAddr(sock_addr, sock_addr_len, &address,
|
| - &address_len, &port)) {
|
| + if (!GetIPAddressFromSockAddr(
|
| + sock_addr, sock_addr_len, &address, &address_len, &port)) {
|
| return false;
|
| }
|
|
|
|
|