]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Switch onion.c over to channel_t
authorAndrea Shepard <andrea@persephoneslair.org>
Mon, 3 Sep 2012 04:13:25 +0000 (21:13 -0700)
committerAndrea Shepard <andrea@torproject.org>
Mon, 8 Oct 2012 10:06:09 +0000 (03:06 -0700)
src/or/onion.c

index ff1556c3e163e0fe579dc1b977a43b94f12160eb..17d8e777ad003f02ca0e903aa2d0b778e288bf00 100644 (file)
@@ -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;