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 | 31c8b1aca33712183abfd3c0ca72759ce1d9cda9 (patch) | |
tree | 399c6aec3579c24da6324ceef7c22f32141f258d /util-src | |
parent | 6b592b4beeacba785621223c4434179aebf3a30b (diff) | |
download | prosody-31c8b1aca33712183abfd3c0ca72759ce1d9cda9.tar.gz prosody-31c8b1aca33712183abfd3c0ca72759ce1d9cda9.zip |
util.poll: Fix missing return for adding duplicate FD
Diffstat (limited to 'util-src')
-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); |