mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 08:54:38 +09:00
login and synchronize fix
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user