aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2021-03-18 10:40:04 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2021-03-18 10:40:04 +0000
commit648608c4971da3e57eaa5855919e0300f3d92ff6 (patch)
tree9d2fa2390b1e827d044f1396c3c4253c6d3722b0 /src/libserver
parent4d5ad72a0de469ad67a7d5fba574d9ac756998e1 (diff)
downloadrspamd-648608c4971da3e57eaa5855919e0300f3d92ff6.tar.gz
rspamd-648608c4971da3e57eaa5855919e0300f3d92ff6.zip
Revert "[Feature] Ppopagate monitored errors from rbl module"
This reverts commit e4f459ef31aed15751edd9ae77f6183b7da3b7b4.
Diffstat (limited to 'src/libserver')
-rw-r--r--src/libserver/monitored.c2
-rw-r--r--src/libserver/monitored.h8
2 files changed, 1 insertions, 9 deletions
diff --git a/src/libserver/monitored.c b/src/libserver/monitored.c
index 14c0137e0..7743d1d7b 100644
--- a/src/libserver/monitored.c
+++ b/src/libserver/monitored.c
@@ -98,7 +98,7 @@ struct rspamd_monitored {
INIT_LOG_MODULE(monitored)
-inline void
+static inline void
rspamd_monitored_propagate_error (struct rspamd_monitored *m,
const gchar *error)
{
diff --git a/src/libserver/monitored.h b/src/libserver/monitored.h
index ce259d176..2453a8f48 100644
--- a/src/libserver/monitored.h
+++ b/src/libserver/monitored.h
@@ -149,14 +149,6 @@ void rspamd_monitored_stop (struct rspamd_monitored *m);
void rspamd_monitored_start (struct rspamd_monitored *m);
/**
- * Propagate external monitored error
- * @param m
- * @param error
- */
-void rspamd_monitored_propagate_error (struct rspamd_monitored *m,
- const gchar *error);
-
-/**
* Destroy monitored context and all monitored objects inside
* @param ctx
*/