]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Fix comment on circuit_t.n_hop and remove circuitmux TODO in or.h
authorAndrea Shepard <andrea@torproject.org>
Mon, 1 Oct 2012 08:58:13 +0000 (01:58 -0700)
committerAndrea Shepard <andrea@torproject.org>
Wed, 10 Oct 2012 07:44:46 +0000 (00:44 -0700)
src/or/or.h

index dad81eddc63665ec062c2e264d8b852e620250de..96e029961439293887b759f0649cccb4c9e5a133 100644 (file)
@@ -2634,15 +2634,7 @@ typedef struct circuit_t {
 
   /**
    * The hop to which we want to extend this circuit.  Should be NULL if
-   * the circuit has attached to a connection.
-   *
-   * TODO:
-   *  - If this is NULL, we have extended.  Is it true that if this is
-   *    NULL then n_chan is not NULL?
-   *  - If n_chan is NULL, then what is n_circ_id?
-   *  - It doesn't matter, because we'll only ever attach to a circuitmux_t
-   *    when n_chan is not NULL, and that's what needs to use a unique ID
-   *    for circuits.
+   * the circuit has attached to a channel.
    */
   extend_info_t *n_hop;