preventive maintenance so we don't get more of those "failing

to find the right circuit" bugs.


svn:r15576
This commit is contained in:
Roger Dingledine 2008-06-30 23:26:39 +00:00
parent cb8386bc08
commit a9e8784c2f
1 changed files with 1 additions and 1 deletions

View File

@ -852,7 +852,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 "