lua/uloop: 'end' is the keyword of Lua, use 'cancel' replace it.
authorxfguo@credosemi.com <xfguo@credosemi.com>
Sun, 27 Jul 2014 09:21:35 +0000 (17:21 +0800)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 27 Jul 2014 09:31:07 +0000 (11:31 +0200)
Signed-off-by: Xiongfei Guo <xfguo@credosemi.com>
lua/uloop.c

index 4abc4c30c0c4b5fe6ef1417b6382003a6fa7cf44..2a0a516b5e2be149d6713d5a304ae5a14709a73c 100644 (file)
@@ -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},
 };