login and synchronize fix

This commit is contained in:
ArvidNorr 2013-01-14 01:13:29 -08:00
parent 92b96ec98d
commit cea442f24e
2 changed files with 4 additions and 3 deletions

View File

@ -221,8 +221,9 @@ static BOOL fastpath_recv_update(rdpFastPath* fastpath, BYTE updateCode, UINT32
case FASTPATH_UPDATETYPE_SYNCHRONIZE:
if (!fastpath_recv_update_synchronize(fastpath, s))
return FALSE;
IFCALL(update->Synchronize, context);
printf("fastpath_recv_update_synchronize failure but we continue\n");
else
IFCALL(update->Synchronize, context);
break;
case FASTPATH_UPDATETYPE_SURFCMDS:

View File

@ -40,7 +40,7 @@ BOOL ber_read_length(STREAM* s, int* length)
if (byte == 1)
stream_read_BYTE(s, *length);
if (byte == 2)
else if (byte == 2)
stream_read_UINT16_be(s, *length);
else
return FALSE;