commit 5ebb6c9: [Minor] Oops, fix build

Vsevolod Stakhov vsevolod at rspamd.com
Sat Jun 17 11:28:03 UTC 2023


Author: Vsevolod Stakhov
Date: 2023-06-17 12:22:00 +0100
URL: https://github.com/rspamd/rspamd/commit/5ebb6c909fd0ceda2b9377aed04faf3b4014dd84 (HEAD -> master)

[Minor] Oops, fix build

---
 src/lua/lua_task.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lua/lua_task.c b/src/lua/lua_task.c
index 8e25c3490..1e0e0a147 100644
--- a/src/lua/lua_task.c
+++ b/src/lua/lua_task.c
@@ -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);


More information about the Commits mailing list