diff options
author | Kim Alvefur <zash@zash.se> | 2018-10-07 18:41:44 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-10-07 18:41:44 +0200 |
commit | b39130c595085797ba07abe5a3d016dacd5e0b09 (patch) | |
tree | 399c6aec3579c24da6324ceef7c22f32141f258d /util-src/poll.c | |
parent | c81f221767c6b7a8a65259f56cc5cf49ab70744e (diff) | |
download | prosody-b39130c595085797ba07abe5a3d016dacd5e0b09.tar.gz prosody-b39130c595085797ba07abe5a3d016dacd5e0b09.zip |
util.poll: Fix missing return for adding duplicate FD
Diffstat (limited to 'util-src/poll.c')
-rw-r--r-- | util-src/poll.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/util-src/poll.c b/util-src/poll.c index e9a1e427..71d5c3a2 100644 --- a/util-src/poll.c +++ b/util-src/poll.c @@ -92,6 +92,7 @@ int Ladd(lua_State *L) { lua_pushnil(L); lua_pushstring(L, strerror(EEXIST)); lua_pushinteger(L, EEXIST); + return 3; } FD_CLR(fd, &state->readable); |