([Connection -_getReceivedReplyRmcWithSequenceNumber:]): Break if the

RunLoop returns NO.  (Reported by Richard Frith-Macdonald
<richard@brainstorm.co.uk>.)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2031 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Andrew McCallum 1997-01-09 16:20:35 +00:00
parent 51e3defb59
commit 9d46f24e66

View file

@ -1,5 +1,5 @@
/* Implementation of connection object for remote object messaging
Copyright (C) 1994, 1995, 1996 Free Software Foundation, Inc.
Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc.
Written by: Andrew Kachites McCallum <mccallum@gnu.ai.mit.edu>
Date: July 1994
@ -1000,8 +1000,9 @@ static int messages_received_count;
if (!timeout_date)
timeout_date = [[NSDate alloc]
initWithTimeIntervalSinceNow: in_timeout];
[RunLoop runOnceBeforeDate: timeout_date
forMode: RunLoopConnectionReplyMode];
if ([RunLoop runOnceBeforeDate: timeout_date
forMode: RunLoopConnectionReplyMode] == NO)
break;
}
reply_depth--;
return rmc;