diff options
author | Nick Mathewson <nickm@torproject.org> | 2020-03-19 08:08:58 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2020-03-19 08:08:58 -0400 |
commit | 9bcd7e5939ddd8f285ef951bc551a6f623b64748 (patch) | |
tree | ebe1804f65d03aee847406196d0547276d2bd250 /src/feature/dirclient | |
parent | 9ffbe8ad593cd2e9b3a6be29c3e36a8da9e5a9ed (diff) | |
download | tor-9bcd7e5939ddd8f285ef951bc551a6f623b64748.tar.gz tor-9bcd7e5939ddd8f285ef951bc551a6f623b64748.zip |
Actually log post-bootstrap directory dl totals.
Fixes bug 33651; bug not in any released Tor.
Diffstat (limited to 'src/feature/dirclient')
-rw-r--r-- | src/feature/dirclient/dirclient.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/feature/dirclient/dirclient.c b/src/feature/dirclient/dirclient.c index e7bec89cad..2072dddadd 100644 --- a/src/feature/dirclient/dirclient.c +++ b/src/feature/dirclient/dirclient.c @@ -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 && |