[PATCH 1/1] filter: fix lua function name
Christian Hesse
mail at eworm.de
Tue Jan 14 18:18:33 CET 2014
---
filter.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/filter.c b/filter.c
index 44af434..0cce7bb 100644
--- a/filter.c
+++ b/filter.c
@@ -319,7 +319,7 @@ static int close_lua_filter(struct cgit_filter *base)
error_lua_filter(filter);
ret = -1;
} else {
- ret = lua_to_number(filter->lua_state, -1);
+ ret = lua_tonumber(filter->lua_state, -1);
lua_pop(filter->lua_state, 1);
}
--
1.8.5.2
More information about the CGit
mailing list