diff options
author | George Kadianakis <desnacked@riseup.net> | 2020-10-21 17:00:08 +0300 |
---|---|---|
committer | George Kadianakis <desnacked@riseup.net> | 2020-11-03 11:12:17 +0200 |
commit | a96432ab06f2d6699b89ed522afd2661ca7e9860 (patch) | |
tree | f5578a2eed54b27d0aab97f3bcde0ac98f0d65a0 /src/test/test_stats.c | |
parent | 6178a64fcf86b280890a222864ea1c09960d058f (diff) | |
download | tor-a96432ab06f2d6699b89ed522afd2661ca7e9860.tar.gz tor-a96432ab06f2d6699b89ed522afd2661ca7e9860.zip |
Abstract v2/v3 "format stats to str" logic into a single function.
Diffstat (limited to 'src/test/test_stats.c')
-rw-r--r-- | src/test/test_stats.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_stats.c b/src/test/test_stats.c index 3ddc3bb31c..dc02c9e784 100644 --- a/src/test/test_stats.c +++ b/src/test/test_stats.c @@ -608,7 +608,7 @@ test_rephist_v3_onions(void *arg) /* Because of differential privacy we can't actually check the stat value, but let's just check that it's formatted correctly. */ - stats_string = rep_hist_format_hs_v3_stats(approx_time(), true); + stats_string = rep_hist_format_hs_stats(approx_time(), true); tt_assert(strstr(stats_string, "hidserv-dir-v3-onions-seen")); done: |