lua/uloop: 'end' is the keyword of Lua, use 'cancel' replace it.

Signed-off-by: Xiongfei Guo <xfguo@credosemi.com>
This commit is contained in:
xfguo@credosemi.com 2014-07-27 17:21:35 +08:00 committed by Felix Fietkau
parent 22bbcfddd7
commit 6e8e6aca1d

View file

@ -369,7 +369,7 @@ static luaL_reg uloop_func[] = {
{"timer", ul_timer}, {"timer", ul_timer},
{"process", ul_process}, {"process", ul_process},
{"fd_add", ul_ufd_add}, {"fd_add", ul_ufd_add},
{"end", ul_end}, {"cancel", ul_end},
{NULL, NULL}, {NULL, NULL},
}; };