aboutsummaryrefslogtreecommitdiffstats
path: root/src/http_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/http_proxy.c
parent2a5e10cd472278a35dc4a7980a8130bcb9ca6430 (diff)
downloadrspamd-25b0522484e06ca21957abc2fa7f234fe23e8f7d.tar.gz
rspamd-25b0522484e06ca21957abc2fa7f234fe23e8f7d.zip
Avoid global rspamd_main usage.
Diffstat (limited to 'src/http_proxy.c')
-rw-r--r--src/http_proxy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http_proxy.c b/src/http_proxy.c
index cdd712931..12b237346 100644
--- a/src/http_proxy.c
+++ b/src/http_proxy.c
@@ -38,7 +38,7 @@
/* Rotate keys each minute by default */
#define DEFAULT_ROTATION_TIME 60.0
-
+extern struct rspamd_main *rspamd_main;
gpointer init_http_proxy (struct rspamd_config *cfg);
void start_http_proxy (struct rspamd_worker *worker);