select() fix. No wonder why ffserver didn't work =)

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1825 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
François Revol 2002-11-02 13:15:02 +00:00
parent 90b544f75f
commit ad68e9c90b

View File

@ -42,7 +42,7 @@ int poll(struct pollfd *fds, nfds_t numfds, int timeout)
tv.tv_sec = timeout / 1000;
tv.tv_usec = 1000 * (timeout % 1000);
rc = select(n, &read_set, &write_set, &exception_set, &tv);
rc = select(n+1, &read_set, &write_set, &exception_set, &tv);
};
if (rc < 0)