diff options
author | Roger Dingledine <arma@torproject.org> | 2008-03-24 18:43:01 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2008-03-24 18:43:01 +0000 |
commit | 90473610077ecc9e8327b68e8847286ca12847d6 (patch) | |
tree | 06f65251bc66ec0d6be09dfbd7cccef1872f8ec8 /src/or/circuitlist.c | |
parent | 901e2ad04b162d0ec00d166c394b8febf6cf5120 (diff) | |
download | tor-90473610077ecc9e8327b68e8847286ca12847d6.tar.gz tor-90473610077ecc9e8327b68e8847286ca12847d6.zip |
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
svn:r14166
Diffstat (limited to 'src/or/circuitlist.c')
-rw-r--r-- | src/or/circuitlist.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/or/circuitlist.c b/src/or/circuitlist.c index f43579efbb..7bd3829f62 100644 --- a/src/or/circuitlist.c +++ b/src/or/circuitlist.c @@ -814,9 +814,9 @@ circuit_find_to_cannibalize(uint8_t purpose, extend_info_t *info, 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, " |