From b58d2b7e4d76f3c6a60dbb3d49ad782d53b239e7 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Wed, 3 Sep 2008 19:13:24 +0400 Subject: * Add initial implementation of surbl check module --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main.c') 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); } } -- cgit v1.2.3