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:
parent
22bbcfddd7
commit
6e8e6aca1d
1 changed files with 1 additions and 1 deletions
|
@ -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},
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue