[OpenWrt-Devel] [PATCH] [libubox] uloop: fixbug, 'end' is the keyword of Lua, use 'cancel' replace it.
xfguo at credosemi.com
xfguo at credosemi.com
Sun Jul 27 05:21:35 EDT 2014
Signed-off-by: Xiongfei Guo <xfguo at credosemi.com>
---
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},
};
--
1.9.1
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list