note another bug: we complain that a router doesn't exist,

because it's down so we never fetched it so it doesn't exist.


svn:r6394
This commit is contained in:
Roger Dingledine 2006-04-17 06:46:20 +00:00
parent 34bc0866d4
commit 47d3e23155

View File

@ -612,6 +612,9 @@ add_nickname_list_to_smartlist(smartlist_t *sl, const char *list,
} }
} }
} else { } else {
/* XXX If it's down, we won't *have* the descriptor, since we
* don't fetch down descriptors. Need to check if it's in the
* status too before complaining. */
if (!warned) { if (!warned) {
log_fn(have_dir_info ? LOG_WARN : LOG_INFO, LD_CONFIG, log_fn(have_dir_info ? LOG_WARN : LOG_INFO, LD_CONFIG,
"Nickname list includes '%s' which isn't a known router.",nick); "Nickname list includes '%s' which isn't a known router.",nick);