aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2009-07-23 20:22:00 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2009-07-23 20:22:00 +0400
commitbe7df664847ca44eb41056d36095eb75f9c50bcd (patch)
tree1203425bc3accc9df634171199fa7faab4c6e2e5 /src/main.c
parent3035b4fcc174228d058a0c4cc6871a01340326d0 (diff)
downloadrspamd-be7df664847ca44eb41056d36095eb75f9c50bcd.tar.gz
rspamd-be7df664847ca44eb41056d36095eb75f9c50bcd.zip
* Fix some more bugs
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 2ff31ecfc..00cf68203 100644
--- a/src/main.c
+++ b/src/main.c
@@ -543,7 +543,7 @@ main (int argc, char **argv, char **env)
while (l) {
filt = l->data;
if (filt->module) {
- if (filt->module->module_config_func (cfg)) {
+ if (!filt->module->module_config_func (cfg)) {
res = FALSE;
}
}
@@ -655,7 +655,7 @@ main (int argc, char **argv, char **env)
while (l) {
filt = l->data;
if (filt->module) {
- if (filt->module->module_config_func (cfg)) {
+ if (!filt->module->module_config_func (cfg)) {
res = FALSE;
}
}