]> source.dussan.org Git - rspamd.git/commitdiff
Process fuzzy weight correctly.
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 7 Oct 2014 17:04:38 +0000 (18:04 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 7 Oct 2014 17:04:38 +0000 (18:04 +0100)
src/plugins/fuzzy_check.c
src/rdns

index 5a53695ee7d275d25c4130a1d2c9dc0495b31388..7bbdc0a3b94869ba7ad13e94aee26fcffd33ac6c 100644 (file)
@@ -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);
index a21b4c0afc2c4bd7a2a16fbd6ba05033c926f6c2..8d80ac78cf6436c077804dd0972866a5bd55732f 160000 (submodule)
--- a/src/rdns
+++ b/src/rdns
@@ -1 +1 @@
-Subproject commit a21b4c0afc2c4bd7a2a16fbd6ba05033c926f6c2
+Subproject commit 8d80ac78cf6436c077804dd0972866a5bd55732f