aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/librdns/util.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2022-01-22 12:29:51 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2022-01-22 12:29:51 +0000
commit982901084d95e6a9a1b955d91ef7cf20ea72c673 (patch)
treea925a96eb36f4888a27f73a6621af5417222a386 /contrib/librdns/util.h
parent8fb3dc2ad50d23b2bec5dcf1ddeb17c50b8b3b67 (diff)
downloadrspamd-982901084d95e6a9a1b955d91ef7cf20ea72c673.tar.gz
rspamd-982901084d95e6a9a1b955d91ef7cf20ea72c673.zip
[Fix] Unschedule DNS request when clearing IO channel
Diffstat (limited to 'contrib/librdns/util.h')
-rw-r--r--contrib/librdns/util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/librdns/util.h b/contrib/librdns/util.h
index 915b8febd..6f74d8b85 100644
--- a/contrib/librdns/util.h
+++ b/contrib/librdns/util.h
@@ -94,6 +94,6 @@ struct rdns_reply * rdns_make_reply (struct rdns_request *req, enum dns_rcode rc
*/
void rdns_reply_free (struct rdns_reply *rep);
-void rdns_request_unschedule (struct rdns_request *req);
+void rdns_request_unschedule (struct rdns_request *req, bool remove_from_hash);
#endif /* UTIL_H_ */