aboutsummaryrefslogtreecommitdiffstats
path: root/src/cfg_utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cfg_utils.c')
-rw-r--r--src/cfg_utils.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cfg_utils.c b/src/cfg_utils.c
index a34084cce..da1fe34a1 100644
--- a/src/cfg_utils.c
+++ b/src/cfg_utils.c
@@ -1051,7 +1051,7 @@ gboolean
check_classifier_statfiles (struct classifier_config *cf)
{
struct statfile *st;
- gboolean has_other = FALSE, cur_class;
+ gboolean has_other = FALSE, res = FALSE, cur_class;
GList *cur;
/* First check classes directly */
@@ -1093,14 +1093,14 @@ check_classifier_statfiles (struct classifier_config *cf)
}
else {
if (cur_class != st->is_spam) {
- return TRUE;
+ res = TRUE;
}
}
cur = g_list_next (cur);
}
- return FALSE;
+ return res;
}
/*