mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-16 17:22:44 +03:00
beos: drop @todo
From the select(2) linux manpage: "nfds is the highest-numbered file descriptor in any of the three sets, plus 1." As sEventPipe[0] is definitely a descriptor, it must be 1 more here.
This commit is contained in:
parent
36ba460fe4
commit
c574780d29
@ -731,7 +731,6 @@ static void gui_poll(bool active)
|
||||
// our own event pipe
|
||||
FD_SET(sEventPipe[0], &read_fd_set);
|
||||
|
||||
/** @todo Check if this max_fd should have + 1 */
|
||||
max_fd = MAX(max_fd, sEventPipe[0] + 1);
|
||||
|
||||
// If there are pending events elsewhere, we should not be blocking
|
||||
|
Loading…
Reference in New Issue
Block a user