summaryrefslogtreecommitdiff
path: root/src/or/circuituse.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2008-06-30 23:27:11 +0000
committerRoger Dingledine <arma@torproject.org>2008-06-30 23:27:11 +0000
commitc411f8321122b0470977a7e813b9abe9e20c457f (patch)
treeb1302006105b41aa82ec15f953cd45067d0e15ac /src/or/circuituse.c
parentbce6a96624802971b0c0b0aa68dc7e6757a4139a (diff)
downloadtor-c411f8321122b0470977a7e813b9abe9e20c457f.tar.gz
tor-c411f8321122b0470977a7e813b9abe9e20c457f.zip
forward-port r15576
svn:r15577
Diffstat (limited to 'src/or/circuituse.c')
-rw-r--r--src/or/circuituse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/circuituse.c b/src/or/circuituse.c
index 781aa9800b..e30424d3d7 100644
--- a/src/or/circuituse.c
+++ b/src/or/circuituse.c
@@ -855,7 +855,7 @@ circuit_launch_by_extend_info(uint8_t purpose,
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 "