[tor-commits] [tor/master] Fix misnamed parameter in or_circuit_new docstring.

nickm at torproject.org nickm at torproject.org
Mon Aug 17 13:27:05 UTC 2015


commit 7155ee849e64e0997c533e21789501244eadc766
Author: Isis Lovecruft <isis at torproject.org>
Date:   Thu Aug 6 06:05:07 2015 +0000

    Fix misnamed parameter in or_circuit_new docstring.
    
     * CHANGES `p_conn` to `p_chan` in `or_circuit_new()` docstring.
---
 src/or/circuitlist.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/or/circuitlist.c b/src/or/circuitlist.c
index bf7f8da..716024d 100644
--- a/src/or/circuitlist.c
+++ b/src/or/circuitlist.c
@@ -716,8 +716,8 @@ origin_circuit_new(void)
   return circ;
 }
 
-/** Allocate a new or_circuit_t, connected to <b>p_conn</b> as
- * <b>p_circ_id</b>.  If <b>p_conn</b> is NULL, the circuit is unattached. */
+/** Allocate a new or_circuit_t, connected to <b>p_chan</b> as
+ * <b>p_circ_id</b>.  If <b>p_chan</b> is NULL, the circuit is unattached. */
 or_circuit_t *
 or_circuit_new(circid_t p_circ_id, channel_t *p_chan)
 {





More information about the tor-commits mailing list