Index: net/base/ip_endpoint.h |
diff --git a/net/base/ip_endpoint.h b/net/base/ip_endpoint.h |
index c2639b161d6f41dac152be0e7007afb484c5d4c9..0fb91ee212bcf85440a2049823a09b560c8041d5 100644 |
--- a/net/base/ip_endpoint.h |
+++ b/net/base/ip_endpoint.h |
@@ -53,9 +53,8 @@ class NET_EXPORT IPEndPoint { |
bool FromSockAddr(const struct sockaddr* address, socklen_t address_length) |
WARN_UNUSED_RESULT; |
- // Returns value as a string (e.g. "127.0.0.1:80"). Returns empty |
- // string if the address is invalid, and cannot not be converted to a |
- // string. |
+ // Returns value as a string (e.g. "127.0.0.1:80"). The IP address must be |
+ // valid, or it will crash. |
Ryan Sleevi
2015/03/06 21:23:41
remove "or it will crash."
|
std::string ToString() const; |
// As above, but without port. |