From: Vsevolod Stakhov Date: Wed, 24 Oct 2018 15:34:33 +0000 (+0100) Subject: [Minor] Avoid double quoting X-Git-Tag: 1.8.2~146 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=3f9fc337ce886a526aca60259bd83faa34ec2c38;p=rspamd.git [Minor] Avoid double quoting --- diff --git a/src/lua/lua_task.c b/src/lua/lua_task.c index 80ece22a6..18754ee6b 100644 --- a/src/lua/lua_task.c +++ b/src/lua/lua_task.c @@ -1605,7 +1605,8 @@ lua_task_set_pre_result (lua_State * L) /* Keep compatibility here :( */ ucl_object_replace_key (task->messages, - ucl_object_fromstring (message), "smtp_message", 0, + ucl_object_fromstring_common (message, 0, UCL_STRING_RAW), + "smtp_message", 0, false); } else { @@ -1682,7 +1683,8 @@ lua_task_append_message (lua_State * L) } ucl_object_insert_key (task->messages, - ucl_object_fromstring (message), category, 0, + ucl_object_fromstring_common (message, 0, UCL_STRING_RAW), + category, 0, true); } else {