lua/uloop: 'end' is the keyword of Lua, use 'cancel' replace it.
[project/libubox.git] / 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},
 };