]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Clarify function documentation.
authorLinus Nordberg <linus@nordberg.se>
Thu, 24 Nov 2011 17:39:27 +0000 (18:39 +0100)
committerNick Mathewson <nickm@torproject.org>
Wed, 30 Nov 2011 16:55:45 +0000 (11:55 -0500)
src/or/connection_or.c

index e178f3a8c09d2ac0f9dae44bbd0f2438c9ce02e1..6990952e94f679099fe3a425f6da07df953298d1 100644 (file)
@@ -630,7 +630,9 @@ connection_or_update_token_buckets(smartlist_t *conns,
 
 /** If we don't necessarily know the router we're connecting to, but we
  * have an addr/port/id_digest, then fill in as much as we can. Start
- * by checking to see if this describes a router we know. */
+ * by checking to see if this describes a router we know.
+ * <b>started_here</b> is 1 if we are the initiator of <b>conn</b> and
+ * 0 if it's an incoming connection.  */
 void
 connection_or_init_conn_from_address(or_connection_t *conn,
                                      const tor_addr_t *addr, uint16_t port,