libc: use proper fd sets in select-handler select

This commit is contained in:
Christian Helmuth 2017-03-02 14:57:15 +01:00
parent ca57afd67e
commit 6bc3bc5881

View File

@ -380,7 +380,7 @@ int Libc::Select_handler_base::select(int nfds, fd_set &readfds,
/* suspend as we don't have any immediate events */
_select_cb->construct(nfds, readfds, writefds, exceptfds);
_select_cb->construct(nfds, in_readfds, in_writefds, in_exceptfds);
select_cb_list.unsynchronized_insert(&(**_select_cb));
}