mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
Fix initialisation error
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27106 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
b7b3ed920e
commit
9abe5c934c
1 changed files with 2 additions and 1 deletions
|
@ -2329,7 +2329,8 @@ static void retEncoder (DOContext *ctxt)
|
|||
GSIMapNode node;
|
||||
|
||||
[rmc decodeValueOfObjCType: @encode(int) at: &sequence];
|
||||
if (type == ROOTPROXY_REPLY && sequence == _lastKeepalive)
|
||||
if (type == ROOTPROXY_REPLY
|
||||
&& _lastKeepalive != 0 && sequence == _lastKeepalive)
|
||||
{
|
||||
_lastKeepalive = 0;
|
||||
NSDebugMLLog(@"NSConnection", @"Handled keepalive %d on %@",
|
||||
|
|
Loading…
Reference in a new issue