# HG changeset patch
# User Kim Alvefur <zash@zash.se>
# Date 1538930504 -7200
# Node ID 6b4d28eb19cf2f459f4e10193bdda46532e82f17
# Parent  af7eafe824477e1cf4db3155da4e1c1f98c7f439
util.poll: Fix missing return for adding duplicate FD

diff -r af7eafe82447 -r 6b4d28eb19cf util-src/poll.c
--- a/util-src/poll.c	Sun Oct 07 17:40:13 2018 +0200
+++ b/util-src/poll.c	Sun Oct 07 18:41:44 2018 +0200
@@ -92,6 +92,7 @@
 		lua_pushnil(L);
 		lua_pushstring(L, strerror(EEXIST));
 		lua_pushinteger(L, EEXIST);
+		return 3;
 	}
 
 	FD_CLR(fd, &state->readable);