]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Comment: Fix typos in get_interface_addresses_win32()
authorteor <teor@torproject.org>
Thu, 6 Sep 2018 03:07:10 +0000 (13:07 +1000)
committerteor <teor@torproject.org>
Fri, 7 Sep 2018 01:32:57 +0000 (11:32 +1000)
Closes 27521.

src/lib/net/address.c

index 619fa13e9be7a1db09ce0b3f0010a6dff826589e..27514ef5b82db5b1b2e2370cb8c7c4f5d4d7859a 100644 (file)
@@ -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)