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
This commit is contained in:
Nick Mathewson
2007-11-14 18:39:15 +00:00
parent 75922ff41f
commit bbb34846b4
2 changed files with 6 additions and 0 deletions
+1
View File
@@ -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);