mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Remove BUG() when checking TOO_MANY_OUTDATED_DIRSERVERS.
Fixes bug #40234; bugfix on 0.3.2.5-alpha.
This commit is contained in:
committed by
George Kadianakis
parent
6c0f15500b
commit
4d6d3b3c05
@@ -124,8 +124,9 @@ microdesc_note_outdated_dirserver(const char *relay_digest)
|
||||
tor_assert(outdated_dirserver_list);
|
||||
|
||||
/* If the list grows too big, clean it up */
|
||||
if (BUG(smartlist_len(outdated_dirserver_list) >
|
||||
TOO_MANY_OUTDATED_DIRSERVERS)) {
|
||||
if (smartlist_len(outdated_dirserver_list) > TOO_MANY_OUTDATED_DIRSERVERS) {
|
||||
log_info(LD_GENERAL,"Too many outdated directory servers (%d). Resetting.",
|
||||
smartlist_len(outdated_dirserver_list));
|
||||
microdesc_reset_outdated_dirservers_list();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user