mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-25 23:21:38 +01:00
fix wide lines
This commit is contained in:
parent
82b581f3fc
commit
0de3147bf1
1 changed files with 5 additions and 5 deletions
|
@ -1761,7 +1761,7 @@ rotate_all_descriptors(time_t now)
|
||||||
int service_entered_overlap = service_just_entered_overlap_mode(service,
|
int service_entered_overlap = service_just_entered_overlap_mode(service,
|
||||||
overlap_mode_is_active);
|
overlap_mode_is_active);
|
||||||
int service_left_overlap = service_just_left_overlap_mode(service,
|
int service_left_overlap = service_just_left_overlap_mode(service,
|
||||||
overlap_mode_is_active);
|
overlap_mode_is_active);
|
||||||
/* This should not be possible */
|
/* This should not be possible */
|
||||||
if (BUG(service_entered_overlap && service_left_overlap)) {
|
if (BUG(service_entered_overlap && service_left_overlap)) {
|
||||||
return;
|
return;
|
||||||
|
@ -1785,10 +1785,10 @@ rotate_all_descriptors(time_t now)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (service_entered_overlap) {
|
if (service_entered_overlap) {
|
||||||
/* We just entered overlap period: recompute all HSDir indices. We need to
|
/* We just entered overlap period: recompute all HSDir indices. We need
|
||||||
* do this otherwise nodes can get stuck with old HSDir indices until we
|
* to do this otherwise nodes can get stuck with old HSDir indices until
|
||||||
* fetch a new consensus, and we might need to reupload our desc before
|
* we fetch a new consensus, and we might need to reupload our desc
|
||||||
* that. */
|
* before that. */
|
||||||
/* XXX find a better place than rotate_all_descriptors() to do this */
|
/* XXX find a better place than rotate_all_descriptors() to do this */
|
||||||
nodelist_recompute_all_hsdir_indices();
|
nodelist_recompute_all_hsdir_indices();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue