From 6e8e6aca1d919e9916b2a1c8702d0cdec68e1ada Mon Sep 17 00:00:00 2001 From: "xfguo@credosemi.com" Date: Sun, 27 Jul 2014 17:21:35 +0800 Subject: [PATCH] lua/uloop: 'end' is the keyword of Lua, use 'cancel' replace it. Signed-off-by: Xiongfei Guo --- lua/uloop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/uloop.c b/lua/uloop.c index 4abc4c3..2a0a516 100644 --- a/lua/uloop.c +++ b/lua/uloop.c @@ -369,7 +369,7 @@ static luaL_reg uloop_func[] = { {"timer", ul_timer}, {"process", ul_process}, {"fd_add", ul_ufd_add}, - {"end", ul_end}, + {"cancel", ul_end}, {NULL, NULL}, }; -- 2.30.2