mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
Fix error in looping round array of descriptor info in new poll
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@12269 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
714778800c
commit
be9225500d
1 changed files with 2 additions and 2 deletions
|
@ -759,7 +759,7 @@ if (0) {
|
|||
* inputs where multiple inputs are in use. Note - fdStart can be
|
||||
* modified while we are in the loop (by recursive calls).
|
||||
*/
|
||||
if (fdStart >= end_inputs)
|
||||
if (fdStart >= num_inputs)
|
||||
{
|
||||
fdStart = 0;
|
||||
fdIndex = 0;
|
||||
|
@ -873,7 +873,7 @@ if (0) {
|
|||
completed = YES;
|
||||
}
|
||||
}
|
||||
if (++fdIndex >= end_inputs)
|
||||
if (++fdIndex >= num_inputs)
|
||||
{
|
||||
fdIndex = 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue