]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
Fix lua_task_get_raw_headers() 198/head
authorAlexey AL <AlexeySa@users.noreply.github.com>
Fri, 6 Mar 2015 12:03:26 +0000 (15:03 +0300)
committerAlexey AL <AlexeySa@users.noreply.github.com>
Fri, 6 Mar 2015 12:03:26 +0000 (15:03 +0300)
src/lua/lua_task.c

index 178519b2712cf091a785c3671e6b485032e06554..a3248d6eb4fe9292370c5486ec3e068591157800 100644 (file)
@@ -1174,7 +1174,7 @@ lua_task_get_header_raw (lua_State * L)
 static gint
 lua_task_get_raw_headers (lua_State *L)
 {
-       struct rspamd_task *task = lua_check_task (L, 1);
+       struct rspamd_task *task = lua_check_task (L);
 
        if (task) {
                lua_pushstring (L, task->raw_headers_str);