aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2014-10-07 18:04:38 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2014-10-07 18:04:38 +0100
commita5ee78901c81c00a863c06c4176458a1b506dcfe (patch)
tree8d460d2c3b52c736dce406522d592df6c7a90c8c /src/plugins
parentec0bedde8662f128642b11123bcdabbc4eec0484 (diff)
downloadrspamd-a5ee78901c81c00a863c06c4176458a1b506dcfe.tar.gz
rspamd-a5ee78901c81c00a863c06c4176458a1b506dcfe.zip
Process fuzzy weight correctly.
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/fuzzy_check.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/fuzzy_check.c b/src/plugins/fuzzy_check.c
index 5a53695ee..7bbdc0a3b 100644
--- a/src/plugins/fuzzy_check.c
+++ b/src/plugins/fuzzy_check.c
@@ -1199,7 +1199,7 @@ fuzzy_controller_handler (struct rspamd_http_connection_entry *conn_ent,
gint value = 1, flag = 0;
/* Get size */
- arg = rspamd_http_message_find_header (msg, "Value");
+ arg = rspamd_http_message_find_header (msg, "Weight");
if (arg) {
errno = 0;
value = strtol (arg, &err_str, 10);