List for cgit developers and users
 help / color / mirror / Atom feed
* [PATCH 1/1] filter: fix lua function name
@ 2014-01-14 17:18 mail
  2014-01-14 17:21 ` Jason
  0 siblings, 1 reply; 2+ messages in thread
From: mail @ 2014-01-14 17:18 UTC (permalink / raw)


---
 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



^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH 1/1] filter: fix lua function name
  2014-01-14 17:18 [PATCH 1/1] filter: fix lua function name mail
@ 2014-01-14 17:21 ` Jason
  0 siblings, 0 replies; 2+ messages in thread
From: Jason @ 2014-01-14 17:21 UTC (permalink / raw)


Wow you're quick. I pushed and then [improperly] rebased within a
matter of 15 seconds. But I guess you caught this anyway.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-01-14 17:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-14 17:18 [PATCH 1/1] filter: fix lua function name mail
2014-01-14 17:21 ` Jason

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).