diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-08-06 15:39:23 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-08-06 15:39:23 +0100 |
commit | 25b0522484e06ca21957abc2fa7f234fe23e8f7d (patch) | |
tree | 805c0bb4d4e99197b68db6edc37e15732b944cdc /src/smtp_proxy.c | |
parent | 2a5e10cd472278a35dc4a7980a8130bcb9ca6430 (diff) | |
download | rspamd-25b0522484e06ca21957abc2fa7f234fe23e8f7d.tar.gz rspamd-25b0522484e06ca21957abc2fa7f234fe23e8f7d.zip |
Avoid global rspamd_main usage.
Diffstat (limited to 'src/smtp_proxy.c')
-rw-r--r-- | src/smtp_proxy.c | 1 |
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); |