mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Actually log post-bootstrap directory dl totals.
Fixes bug 33651; bug not in any released Tor.
This commit is contained in:
@@ -1984,7 +1984,7 @@ dirclient_dump_total_dls(void)
|
||||
for (int bootstrapped = 0; bootstrapped < 2; ++bootstrapped) {
|
||||
bool first_time = true;
|
||||
for (int i=0; i < DIR_PURPOSE_MAX_; ++i) {
|
||||
uint64_t n = total_dl[i][0];
|
||||
uint64_t n = total_dl[i][bootstrapped];
|
||||
if (n == 0)
|
||||
continue;
|
||||
if (options->SafeLogging_ != SAFELOG_SCRUB_NONE &&
|
||||
|
||||
Reference in New Issue
Block a user