[or-cvs] r14166: Mar 24 08:43:30.014 [debug] circuit_find_to_cannibalize(): H (tor/trunk/src/or)
arma at seul.org
arma at seul.org
Mon Mar 24 18:43:01 UTC 2008
Author: arma
Date: 2008-03-24 14:43:01 -0400 (Mon, 24 Mar 2008)
New Revision: 14166
Modified:
tor/trunk/src/or/circuitlist.c
Log:
Mar 24 08:43:30.014 [debug] circuit_find_to_cannibalize(): Hunting for
a circ to cannibalize: purpose 5, uptime 0, capacity 4, internal 0
Modified: tor/trunk/src/or/circuitlist.c
===================================================================
--- tor/trunk/src/or/circuitlist.c 2008-03-24 18:37:52 UTC (rev 14165)
+++ tor/trunk/src/or/circuitlist.c 2008-03-24 18:43:01 UTC (rev 14166)
@@ -814,9 +814,9 @@
circuit_t *_circ;
origin_circuit_t *best=NULL;
- int need_uptime = flags & CIRCLAUNCH_NEED_UPTIME;
- int need_capacity = flags & CIRCLAUNCH_NEED_CAPACITY;
- int internal = flags & CIRCLAUNCH_IS_INTERNAL;
+ int need_uptime = (flags & CIRCLAUNCH_NEED_UPTIME) != 0;
+ int need_capacity = (flags & CIRCLAUNCH_NEED_CAPACITY) != 0;
+ int internal = (flags & CIRCLAUNCH_IS_INTERNAL) != 0;
log_debug(LD_CIRC,
"Hunting for a circ to cannibalize: purpose %d, uptime %d, "
More information about the tor-commits
mailing list