From 90473610077ecc9e8327b68e8847286ca12847d6 Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Mon, 24 Mar 2008 18:43:01 +0000 Subject: 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 --- src/or/circuitlist.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/or/circuitlist.c') 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, " -- cgit v1.2.3-54-g00ecf