summaryrefslogtreecommitdiffstats
path: root/net/base/address_list.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/base/address_list.h')
-rw-r--r--net/base/address_list.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/net/base/address_list.h b/net/base/address_list.h
index 1ca86a1..c333f86 100644
--- a/net/base/address_list.h
+++ b/net/base/address_list.h
@@ -27,9 +27,10 @@ class AddressList {
// canonicalized IP address.
AddressList(const IPAddressNumber& address, int port, bool canonicalize_name);
- // Adopt the given addrinfo list in place of the existing one if any. This
- // hands over responsibility for freeing the addrinfo list to the AddressList
- // object.
+ // Adopt the given addrinfo list (assumed to have been created by
+ // the system, e.g. returned by getaddrinfo()) in place of the
+ // existing one if any. This hands over responsibility for freeing
+ // the addrinfo list to the AddressList object.
void Adopt(struct addrinfo* head);
// Copies the given addrinfo rather than adopting it. If |recursive| is true,