[tor-commits] [tor/master] Switch onion.c over to channel_t

andrea at torproject.org andrea at torproject.org
Thu Oct 11 02:05:22 UTC 2012


commit 8b14db9628f0e8982e894034e86c8efdd78cff32
Author: Andrea Shepard <andrea at persephoneslair.org>
Date:   Sun Sep 2 21:13:25 2012 -0700

    Switch onion.c over to channel_t
---
 src/or/onion.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/or/onion.c b/src/or/onion.c
index ff1556c..17d8e77 100644
--- a/src/or/onion.c
+++ b/src/or/onion.c
@@ -106,7 +106,7 @@ onion_next_task(char **onionskin_out)
     return NULL; /* no onions pending, we're done */
 
   tor_assert(ol_list->circ);
-  tor_assert(ol_list->circ->p_conn); /* make sure it's still valid */
+  tor_assert(ol_list->circ->p_chan); /* make sure it's still valid */
   tor_assert(ol_length > 0);
   circ = ol_list->circ;
   *onionskin_out = ol_list->onionskin;





More information about the tor-commits mailing list