aboutsummaryrefslogtreecommitdiff
path: root/src/feature/rend
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@riseup.net>2020-07-01 13:29:33 +0300
committerGeorge Kadianakis <desnacked@riseup.net>2020-11-02 21:04:43 +0200
commit62d682e62422eecd40f2e2ba4d222bb2795dad53 (patch)
tree2ef10a6a0701f29045dd6bbc6ccfbc5e81f7851f /src/feature/rend
parent7a75a1064fe41847b6c42c1d995a27f08987aa93 (diff)
downloadtor-62d682e62422eecd40f2e2ba4d222bb2795dad53.tar.gz
tor-62d682e62422eecd40f2e2ba4d222bb2795dad53.zip
Make room for v3: Rename rephist objects to signify they are v2-only.
Diffstat (limited to 'src/feature/rend')
-rw-r--r--src/feature/rend/rendcache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/feature/rend/rendcache.c b/src/feature/rend/rendcache.c
index 53fec7532f..715e70eba7 100644
--- a/src/feature/rend/rendcache.c
+++ b/src/feature/rend/rendcache.c
@@ -718,7 +718,7 @@ rend_cache_store_v2_desc_as_dir(const char *desc)
safe_str(desc_id_base32), (int)encoded_size);
/* Statistics: Note down this potentially new HS. */
if (options->HiddenServiceStatistics) {
- rep_hist_stored_maybe_new_hs(e->parsed->pk);
+ rep_hist_hsdir_stored_maybe_new_v2_onion(e->parsed->pk);
}
number_stored++;