summaryrefslogtreecommitdiff
path: root/src/or/rendcommon.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-06-02 15:06:04 -0400
committerNick Mathewson <nickm@torproject.org>2011-06-02 15:06:04 -0400
commit80038b545359e5156fde6d6be4015bdf7f80e779 (patch)
treed92f5f966f7768a4fa151444ea75258ab002ba77 /src/or/rendcommon.c
parent385c59798af80e2609b66afb2998acb508060f95 (diff)
parentfc4158dad706a76acbfd3adae8b505495f1004e5 (diff)
downloadtor-80038b545359e5156fde6d6be4015bdf7f80e779.tar.gz
tor-80038b545359e5156fde6d6be4015bdf7f80e779.zip
Merge remote-tracking branch 'rransom-tor/bug3309' into maint-0.2.2
Diffstat (limited to 'src/or/rendcommon.c')
-rw-r--r--src/or/rendcommon.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/or/rendcommon.c b/src/or/rendcommon.c
index 4d4a90f61a..683e11ad24 100644
--- a/src/or/rendcommon.c
+++ b/src/or/rendcommon.c
@@ -839,8 +839,10 @@ rend_cache_clean(void)
void
rend_cache_purge(void)
{
- if (rend_cache)
+ if (rend_cache) {
+ log_info(LD_REND, "Purging client/v0-HS-authority HS descriptor cache");
strmap_free(rend_cache, _rend_cache_entry_free);
+ }
rend_cache = strmap_new();
}