summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorteor <teor@torproject.org>2018-09-06 13:07:10 +1000
committerteor <teor@torproject.org>2018-09-07 11:32:57 +1000
commit3b6d1676ec37def28994adf8ef6f50bed5fb6338 (patch)
tree1d05066ba118994e6b31fb723855d0f68f1941e2 /src/lib
parentb8a2bdbdc8c467762f1bb0c2d103c566fe9703a7 (diff)
downloadtor-3b6d1676ec37def28994adf8ef6f50bed5fb6338.tar.gz
tor-3b6d1676ec37def28994adf8ef6f50bed5fb6338.zip
Comment: Fix typos in get_interface_addresses_win32()
Closes 27521.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/net/address.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/net/address.c b/src/lib/net/address.c
index 619fa13e9b..27514ef5b8 100644
--- a/src/lib/net/address.c
+++ b/src/lib/net/address.c
@@ -1295,9 +1295,9 @@ ip_adapter_addresses_to_smartlist(const IP_ADAPTER_ADDRESSES *addresses)
return result;
}
-/** Windows only: use GetAdaptersInfo() function to retrieve network interface
- * addresses of current machine and return them to caller as smartlist of
- * <b>tor_addr_t</b> structures.
+/** Windows only: use GetAdaptersAddresses() to retrieve the network interface
+ * addresses of the current machine.
+ * Returns a smartlist of <b>tor_addr_t</b> structures.
*/
STATIC smartlist_t *
get_interface_addresses_win32(int severity, sa_family_t family)