]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
[Minor] Oops, fix build
authorVsevolod Stakhov <vsevolod@rspamd.com>
Sat, 17 Jun 2023 11:22:00 +0000 (12:22 +0100)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Sat, 17 Jun 2023 11:22:00 +0000 (12:22 +0100)
src/lua/lua_task.c

index 8e25c34900a328333c5e0ec0865c32c221a5df4c..1e0e0a147a707f56a96ea3209d682569018d5a4b 100644 (file)
@@ -2745,7 +2745,7 @@ lua_task_get_rawbody (lua_State * L)
                else {
                        /* Push body it it is there */
                        if (task->msg.len > 0 && task->msg.begin != NULL) {
-                               lua_new_text_task (L, task->msg.begin, task->msg.len, FALSE);
+                               lua_new_text_task (L, task, task->msg.begin, task->msg.len, FALSE);
                        }
                        else {
                                lua_pushnil (L);