fix wide lines

This commit is contained in:
Nick Mathewson 2017-08-25 11:34:42 -04:00
parent 82b581f3fc
commit 0de3147bf1

View file

@ -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();
} }