Actually log post-bootstrap directory dl totals.

Fixes bug 33651; bug not in any released Tor.
This commit is contained in:
Nick Mathewson
2020-03-19 08:08:58 -04:00
parent 9ffbe8ad59
commit 9bcd7e5939
+1 -1
View File
@@ -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 &&