From f2d51171f7975184bf97ab0b85660703dd2d85cb Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 26 Oct 2014 01:52:31 +0200 Subject: lua: subprocess: fix dumb --- player/lua.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'player') diff --git a/player/lua.c b/player/lua.c index 217e247f3c..78623a0651 100644 --- a/player/lua.c +++ b/player/lua.c @@ -1193,7 +1193,7 @@ static int sparse_poll(struct pollfd *fds, int num_fds, int timeout) for (int n = 0; n < num_fds; n++) { map[n] = -1; if (fds[n].fd < 0) - break; + continue; map[n] = p_num_fds; p_fds[p_num_fds++] = fds[n]; } -- cgit v1.2.3