diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2022-08-17 18:00:47 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rspamd.com> | 2022-08-17 18:01:15 +0100 |
commit | 3959dd39b6263c583aadc5799262e340104af66b (patch) | |
tree | f6011a09eb763c7862b5b0a43990426dbed46a48 /contrib/librdns/resolver.c | |
parent | a750d224dce6226b16391f869e8cbc6718011f7d (diff) | |
download | rspamd-3959dd39b6263c583aadc5799262e340104af66b.tar.gz rspamd-3959dd39b6263c583aadc5799262e340104af66b.zip |
[Rework] Use khash instead of uthash in rdns compression logic
Diffstat (limited to 'contrib/librdns/resolver.c')
-rw-r--r-- | contrib/librdns/resolver.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |