diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-11-14 18:39:15 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-11-14 18:39:15 +0000 |
commit | bbb34846b4df194e25304a84a3fe95634e01bc0d (patch) | |
tree | 30d2885a7f4012c6f9d1fc33e22346d7f965b914 /src/or | |
parent | 75922ff41f5518e44ac8752a37922de855488915 (diff) | |
download | tor-bbb34846b4df194e25304a84a3fe95634e01bc0d.tar tor-bbb34846b4df194e25304a84a3fe95634e01bc0d.tar.gz |
r16665@catbus: nickm | 2007-11-14 13:36:11 -0500
Fix bug spotted by karsten: when we have no consensus, do not try to continue finding directories for a hidden service.
svn:r12493
Diffstat (limited to 'src/or')
-rw-r--r-- | src/or/routerlist.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c index 8a630b504..d9b84dbd8 100644 --- a/src/or/routerlist.c +++ b/src/or/routerlist.c @@ -4472,6 +4472,7 @@ hid_serv_get_responsible_directories(smartlist_t *responsible_dirs, if (!c || !smartlist_len(c->routerstatus_list)) { log_warn(LD_REND, "We don't have a consensus, so we can't perform v2 " "rendezvous operations."); + return -1; } tor_assert(id); start = networkstatus_vote_find_entry_idx(c, id, &found); |