summaryrefslogtreecommitdiff
path: root/src/or/dns.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2014-05-06 10:18:34 -0400
committerNick Mathewson <nickm@torproject.org>2014-05-06 10:18:34 -0400
commit78301d99fe0a9464992baea22be3c6fd42b7dcad (patch)
tree4c1321f785be3c4e6cdd68ba6175dc8b760c2e3c /src/or/dns.c
parent388478561dd4457afedf530591f02cb05864b187 (diff)
downloadtor-78301d99fe0a9464992baea22be3c6fd42b7dcad.tar.gz
tor-78301d99fe0a9464992baea22be3c6fd42b7dcad.zip
Fix compilation with DEBUG_DNS_CACHE
Reported by cypherpunks. Fix for #11761; bugfix on 0.2.3.13-alpha where we made ht.h stop using _identifiers.
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 36271939b4..a9c4318651 100644
--- a/src/or/dns.c
+++ b/src/or/dns.c
@@ -2174,7 +2174,7 @@ static void
assert_cache_ok_(void)
{
cached_resolve_t **resolve;
- int bad_rep = _cache_map_HT_REP_IS_BAD(&cache_root);
+ int bad_rep = HT_REP_IS_BAD_(cache_map, &cache_root);
if (bad_rep) {
log_err(LD_BUG, "Bad rep type %d on dns cache hash table", bad_rep);
tor_assert(!bad_rep);