summaryrefslogtreecommitdiffstats
path: root/contrib/librdns/rdns.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-11-13 13:58:09 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-11-13 13:58:09 +0000
commit684996ee80c4b834f10c764a71a7f22dd2f23f83 (patch)
tree54ebf01447ac6fa4e693d00a952cda580884fd16 /contrib/librdns/rdns.h
parent54e835fc3540cc4dae025976fd15a0ad9cf10833 (diff)
downloadrspamd-684996ee80c4b834f10c764a71a7f22dd2f23f83.tar.gz
rspamd-684996ee80c4b834f10c764a71a7f22dd2f23f83.zip
[Minor] Add failure reason in the upstreams code
Diffstat (limited to 'contrib/librdns/rdns.h')
-rw-r--r--contrib/librdns/rdns.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/librdns/rdns.h b/contrib/librdns/rdns.h
index 1b2f63b7a..5ea8f5952 100644
--- a/contrib/librdns/rdns.h
+++ b/contrib/librdns/rdns.h
@@ -169,7 +169,7 @@ struct rdns_upstream_context {
void *ups_data);
unsigned int (*count)(void *ups_data);
void (*ok)(struct rdns_upstream_elt *elt, void *ups_data);
- void (*fail)(struct rdns_upstream_elt *elt, void *ups_data);
+ void (*fail)(struct rdns_upstream_elt *elt, void *ups_data, const char *reason);
};
/**