summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2020-03-25 10:38:01 -0400
committerNick Mathewson <nickm@torproject.org>2020-03-25 10:38:01 -0400
commit2eb78e206187fb8df72854dd26f1621a53201208 (patch)
treeb3cb482b1ae9080e97ab31d6765c7dba127721f7 /src
parent6b0a40c81eddc1ab79ad71947f85a92206947c81 (diff)
parent9bcd7e5939ddd8f285ef951bc551a6f623b64748 (diff)
downloadtor-2eb78e206187fb8df72854dd26f1621a53201208.tar.gz
tor-2eb78e206187fb8df72854dd26f1621a53201208.zip
Merge branch 'bug33651'
Diffstat (limited to 'src')
-rw-r--r--src/feature/dirclient/dirclient.c2
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 &&