diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-06-25 00:07:49 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-06-25 00:07:49 +0100 |
commit | fd74eaf0dbf946902dac25357a3218e67afda6b7 (patch) | |
tree | 7af7225c56f989236f56e412045e55fcd13ce891 /src/lua | |
parent | 1ccdd82ab8e63ad41b1e77486d2f95ac31d162d9 (diff) | |
download | rspamd-fd74eaf0dbf946902dac25357a3218e67afda6b7.tar.gz rspamd-fd74eaf0dbf946902dac25357a3218e67afda6b7.zip |
[Fix] Fix folding for arc headers when milter interface is used
Diffstat (limited to 'src/lua')
-rw-r--r-- | src/lua/lua_util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lua/lua_util.c b/src/lua/lua_util.c index ec825c30f..6f9ded3cc 100644 --- a/src/lua/lua_util.c +++ b/src/lua/lua_util.c @@ -1138,11 +1138,11 @@ lua_util_fold_header (lua_State *L) if (lua_isstring (L, 3)) { how = lua_tostring (L, 3); - if (g_ascii_strcasecmp (how, "cr") == 0) { + if (strcmp (how, "cr") == 0) { folded = rspamd_header_value_fold (name, value, 0, RSPAMD_TASK_NEWLINES_CR); } - else if (g_ascii_strcasecmp (how, "lf") == 0) { + else if (strcmp (how, "lf") == 0) { folded = rspamd_header_value_fold (name, value, 0, RSPAMD_TASK_NEWLINES_LF); } |