aboutsummaryrefslogtreecommitdiffstats
path: root/src/smtp_proxy.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-08-06 15:39:23 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-08-06 15:39:23 +0100
commit25b0522484e06ca21957abc2fa7f234fe23e8f7d (patch)
tree805c0bb4d4e99197b68db6edc37e15732b944cdc /src/smtp_proxy.c
parent2a5e10cd472278a35dc4a7980a8130bcb9ca6430 (diff)
downloadrspamd-25b0522484e06ca21957abc2fa7f234fe23e8f7d.tar.gz
rspamd-25b0522484e06ca21957abc2fa7f234fe23e8f7d.zip
Avoid global rspamd_main usage.
Diffstat (limited to 'src/smtp_proxy.c')
-rw-r--r--src/smtp_proxy.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/smtp_proxy.c b/src/smtp_proxy.c
index 7bf5b6db0..62d6ff6b7 100644
--- a/src/smtp_proxy.c
+++ b/src/smtp_proxy.c
@@ -43,6 +43,7 @@
#define SMTP_MAXERRORS 15
+extern struct rspamd_main *rspamd_main;
/* Init functions */
gpointer init_smtp_proxy (struct rspamd_config *cfg);