summaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2008-09-03 19:13:24 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2008-09-03 19:13:24 +0400
commitb58d2b7e4d76f3c6a60dbb3d49ad782d53b239e7 (patch)
treeb8fea2eb7c1db9f4760d472d04b26d1daafe74ce /main.c
parent2809ad4747b7e3a3795aec4e433d7754c7efc365 (diff)
downloadrspamd-b58d2b7e4d76f3c6a60dbb3d49ad782d53b239e7.tar.gz
rspamd-b58d2b7e4d76f3c6a60dbb3d49ad782d53b239e7.zip
* Add initial implementation of surbl check module
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index ecae9f139..dc1907f85 100644
--- a/main.c
+++ b/main.c
@@ -230,7 +230,7 @@ main (int argc, char **argv)
for (i = 0; i < MODULES_NUM; i ++) {
cur_module = g_malloc (sizeof (struct c_module));
cur_module->name = modules[i].name;
- if (modules[i].module_init_func(cur_module->ctx) == 0) {
+ if (modules[i].module_init_func(cfg, &cur_module->ctx) == 0) {
LIST_INSERT_HEAD (&cfg->c_modules, cur_module, next);
}
}