[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] r15576: preventive maintenance so we don't get more of those "failin (tor/branches/tor-0_2_0-patches/src/or)



Author: arma
Date: 2008-06-30 19:26:39 -0400 (Mon, 30 Jun 2008)
New Revision: 15576

Modified:
   tor/branches/tor-0_2_0-patches/src/or/circuituse.c
Log:
preventive maintenance so we don't get more of those "failing
to find the right circuit" bugs.


Modified: tor/branches/tor-0_2_0-patches/src/or/circuituse.c
===================================================================
--- tor/branches/tor-0_2_0-patches/src/or/circuituse.c	2008-06-30 23:05:45 UTC (rev 15575)
+++ tor/branches/tor-0_2_0-patches/src/or/circuituse.c	2008-06-30 23:26:39 UTC (rev 15576)
@@ -852,7 +852,7 @@
                               int flags)
 {
   origin_circuit_t *circ;
-  int onehop_tunnel = flags & CIRCLAUNCH_ONEHOP_TUNNEL;
+  int onehop_tunnel = (flags & CIRCLAUNCH_ONEHOP_TUNNEL) != 0;
 
   if (!onehop_tunnel && !router_have_minimum_dir_info()) {
     log_debug(LD_CIRC,"Haven't fetched enough directory info yet; canceling "