aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil/upstream.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 /src/libutil/upstream.h
parent54e835fc3540cc4dae025976fd15a0ad9cf10833 (diff)
downloadrspamd-684996ee80c4b834f10c764a71a7f22dd2f23f83.tar.gz
rspamd-684996ee80c4b834f10c764a71a7f22dd2f23f83.zip
[Minor] Add failure reason in the upstreams code
Diffstat (limited to 'src/libutil/upstream.h')
-rw-r--r--src/libutil/upstream.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/upstream.h b/src/libutil/upstream.h
index 0581a314c..89bcd9b52 100644
--- a/src/libutil/upstream.h
+++ b/src/libutil/upstream.h
@@ -60,7 +60,7 @@ void rspamd_upstreams_library_config (struct rspamd_config *cfg,
/**
* Add an error to an upstream
*/
-void rspamd_upstream_fail (struct upstream *upstream, gboolean addr_failure);
+void rspamd_upstream_fail (struct upstream *upstream, gboolean addr_failure, const gchar *reason);
/**
* Increase upstream successes count