usock: add helper waiting for socket to be ready
[project/libubox.git] / lua / uloop.c
index 4abc4c3..2a0a516 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},
 };