diff options
Diffstat (limited to 'util-src/poll.c')
-rw-r--r-- | util-src/poll.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/util-src/poll.c b/util-src/poll.c index 47a994c1..11e3fecf 100644 --- a/util-src/poll.c +++ b/util-src/poll.c @@ -389,6 +389,8 @@ int Lnew(lua_State *L) { FD_ZERO(&state->wantwrite); FD_ZERO(&state->readable); FD_ZERO(&state->writable); + FD_ZERO(&state->all); + FD_ZERO(&state->err); state->processed = FD_SETSIZE; #endif |