commit f32f0c8: [Minor] Store newlines type

Vsevolod Stakhov vsevolod at highsecure.ru
Fri Nov 5 19:56:04 UTC 2021


Author: Vsevolod Stakhov
Date: 2021-11-05 19:55:04 +0000
URL: https://github.com/rspamd/rspamd/commit/f32f0c8435634bc985e90ca0327cfbe754c4043d (HEAD -> master)

[Minor] Store newlines type

---
 lualib/lua_mime.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lualib/lua_mime.lua b/lualib/lua_mime.lua
index 44294efff..ffc1fb2f9 100644
--- a/lualib/lua_mime.lua
+++ b/lualib/lua_mime.lua
@@ -584,7 +584,7 @@ exports.message_to_ucl = function(task)
   local result = {}
   result.size = task:get_size()
   result.digest = task:get_digest()
-
+  result.newlines = task:get_newlines_type()
   result.headers = task:get_headers(true) or {}
 
   local parts = task:get_parts() or {}


More information about the Commits mailing list