commit 1f49c41: [Minor] Fix return values count

Vsevolod Stakhov vsevolod at highsecure.ru
Mon Apr 15 19:28:08 UTC 2019


Author: Vsevolod Stakhov
Date: 2019-04-15 18:19:41 +0100
URL: https://github.com/rspamd/rspamd/commit/1f49c41254257b3fdaec171229fdfecc2f7d0a4d

[Minor] Fix return values count

---
 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 b1aabfdda..5fe7db556 100644
--- a/src/lua/lua_task.c
+++ b/src/lua/lua_task.c
@@ -4440,7 +4440,7 @@ lua_task_get_scan_time (lua_State *L)
 		return luaL_error (L, "invalid arguments");
 	}
 
-	return 1;
+	return 2;
 }
 
 static gint


More information about the Commits mailing list