aboutsummaryrefslogtreecommitdiff
path: root/src/or/dns.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/dns.c')
-rw-r--r--src/or/dns.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/dns.c b/src/or/dns.c
index 60dca8b692..4a9853959e 100644
--- a/src/or/dns.c
+++ b/src/or/dns.c
@@ -162,7 +162,7 @@ HT_GENERATE(cache_map, cached_resolve_t, node, cached_resolve_hash,
static void
init_cache_map(void)
{
- HT_INIT(&cache_root);
+ HT_INIT(cache_map, &cache_root);
}
#ifdef USE_EVENTDNS