[tor-commits] [tor/master] Update comment: get_connection_array no longer takes "n"

nickm at torproject.org nickm at torproject.org
Mon Dec 7 15:13:36 UTC 2015


commit fb3e862b8690101276cf2dfe8a5fc2dfb69fb71f
Author: teor (Tim Wilson-Brown) <teor2345 at gmail.com>
Date:   Tue Dec 1 13:08:37 2015 +1100

    Update comment: get_connection_array no longer takes "n"
---
 src/or/main.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/or/main.c b/src/or/main.c
index 1469fd1..3f166c8 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -500,8 +500,7 @@ connection_in_array(connection_t *conn)
   return smartlist_contains(connection_array, conn);
 }
 
-/** Set <b>*array</b> to an array of all connections, and <b>*n</b>
- * to the length of the array. <b>*array</b> and <b>*n</b> must not
+/** Set <b>*array</b> to an array of all connections. <b>*array</b> must not
  * be modified.
  */
 smartlist_t *





More information about the tor-commits mailing list