]> source.dussan.org Git - rspamd.git/commitdiff
Fix error message
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 21 Jan 2016 09:55:03 +0000 (09:55 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 21 Jan 2016 09:55:03 +0000 (09:55 +0000)
Issue: #491
Reported by: @moisseev

src/libstat/stat_process.c

index 83621c973699221f03d79995b29251420347935c..e9324d2ca8a65b65296ba0f02591d90be7087f65 100644 (file)
@@ -484,7 +484,7 @@ rspamd_stat_classifiers_learn (struct rspamd_stat_ctx *st_ctx,
                                        task->message_id,
                                        cl->cfg->name,
                                        task->tokens->len,
-                                       cl->cfg->max_tokens);
+                                       cl->cfg->min_tokens);
                }
        }