[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/master] Comment: Fix typos in get_interface_addresses_win32()



commit 3b6d1676ec37def28994adf8ef6f50bed5fb6338
Author: teor <teor@xxxxxxxxxxxxxx>
Date:   Thu Sep 6 13:07:10 2018 +1000

    Comment: Fix typos in get_interface_addresses_win32()
    
    Closes 27521.
---
 src/lib/net/address.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/lib/net/address.c b/src/lib/net/address.c
index 619fa13e9..27514ef5b 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)



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits