aboutsummaryrefslogtreecommitdiff
path: root/src/or/rendcommon.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-06-02 15:07:08 -0400
committerNick Mathewson <nickm@torproject.org>2011-06-02 15:07:08 -0400
commit587cc311407e10c04962a9dd69513cc5a71aedd5 (patch)
treef1c97a05e73ef0a54e220b12d36cdd0edf7d14b3 /src/or/rendcommon.c
parent6a320b99058ff19a2b71425e7cd6f267798411be (diff)
parent80038b545359e5156fde6d6be4015bdf7f80e779 (diff)
downloadtor-587cc311407e10c04962a9dd69513cc5a71aedd5.tar.gz
tor-587cc311407e10c04962a9dd69513cc5a71aedd5.zip
Merge remote-tracking branch 'origin/maint-0.2.2'
Conflicts: src/or/rendclient.c
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 f7bbd76b38..301d63515f 100644
--- a/src/or/rendcommon.c
+++ b/src/or/rendcommon.c
@@ -838,8 +838,10 @@ rend_cache_clean(time_t now)
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();
}