Mark poll as complete when we return instantly with nothing to do.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@12267 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-Macdonald 2002-01-29 22:32:59 +00:00
parent c54f5c74b6
commit 714778800c

View file

@ -744,6 +744,7 @@ if (0) {
if (poll_return == 0) if (poll_return == 0)
{ {
completed = YES;
return NO; return NO;
} }
@ -1071,6 +1072,7 @@ if (0) {
} }
if (select_return == 0) if (select_return == 0)
{ {
completed = YES;
return NO; return NO;
} }