Software /
code /
prosody
Diff
util-src/poll.c @ 9507:33d21f020b66
net.server_epoll: Ignore ENOENT when deregitering socket
It should not really happen
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 12 Oct 2018 03:21:11 +0200 |
parent | 9506:ae6636052be9 |
child | 9508:2055b497b515 |
line wrap: on
line diff
--- a/util-src/poll.c Fri Oct 12 03:20:09 2018 +0200 +++ b/util-src/poll.c Fri Oct 12 03:21:11 2018 +0200 @@ -452,7 +452,7 @@ #endif } - lua_createtable(L, 0, 2); + lua_createtable(L, 0, 3); { lua_pushcfunction(L, Lnew); lua_setfield(L, -2, "new"); @@ -461,6 +461,7 @@ lua_setfield(L, -2, #named_error); push_errno(EEXIST); + push_errno(ENOENT); } return 1;