summaryrefslogtreecommitdiffstats
path: root/src/plugins/regexp.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2009-04-24 15:27:38 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2009-04-24 15:27:38 +0400
commit17940ef125b638849d45ace31dca83e0780ed3bf (patch)
treef15e8700e3b74b0dad592d05b9d3b8f6669b1104 /src/plugins/regexp.c
parent521c2b24b92d2085629d0e34d18110b3a643a77a (diff)
downloadrspamd-17940ef125b638849d45ace31dca83e0780ed3bf.tar.gz
rspamd-17940ef125b638849d45ace31dca83e0780ed3bf.zip
Fix misprint.
Diffstat (limited to 'src/plugins/regexp.c')
-rw-r--r--src/plugins/regexp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/regexp.c b/src/plugins/regexp.c
index e3e3853da..6693d5782 100644
--- a/src/plugins/regexp.c
+++ b/src/plugins/regexp.c
@@ -174,7 +174,7 @@ regexp_module_config (struct config_file *cfg)
if (strcmp (cur->param, "metric") == 0 || strcmp (cur->param, "statfile_prefix") == 0) {
continue;
}
- else if (g_ascii_strncasecmp (cur->param, "autolearn", sizeof ("autolearn") - 1)) {
+ else if (g_ascii_strncasecmp (cur->param, "autolearn", sizeof ("autolearn") - 1) == 0) {
parse_autolearn_param (cur->param, cur->value, cfg);
continue;
}