From 3959dd39b6263c583aadc5799262e340104af66b Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Wed, 17 Aug 2022 18:00:47 +0100 Subject: [Rework] Use khash instead of uthash in rdns compression logic --- contrib/librdns/resolver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib/librdns/resolver.c') diff --git a/contrib/librdns/resolver.c b/contrib/librdns/resolver.c index cb9824ed4..bfcfd0ae2 100644 --- a/contrib/librdns/resolver.c +++ b/contrib/librdns/resolver.c @@ -1039,7 +1039,7 @@ rdns_make_request_full ( unsigned int i, tlen = 0, clen = 0, cur; size_t olen; const char *cur_name, *last_name = NULL; - struct rdns_compression_entry *comp = NULL; + khash_t(rdns_compression_hash) *comp = NULL; struct rdns_fake_reply *fake_rep = NULL; char fake_buf[MAX_FAKE_NAME + sizeof (struct rdns_fake_reply_idx) + 16]; struct rdns_fake_reply_idx *idx; -- cgit v1.2.3