core: tweak rdp debugging
This commit is contained in:
parent
7d6026b0f6
commit
592a99de3c
@ -1819,7 +1819,7 @@ boolean rdp_recv_demand_active(rdpRdp* rdp, STREAM* s)
|
||||
|
||||
if (channelId != MCS_GLOBAL_CHANNEL_ID)
|
||||
{
|
||||
printf("channelId bad\n");
|
||||
printf("expected MCS_GLOBAL_CHANNEL_ID %04x, got %04x\n", MCS_GLOBAL_CHANNEL_ID, channelId);
|
||||
return false;
|
||||
}
|
||||
|
||||
@ -1833,7 +1833,7 @@ boolean rdp_recv_demand_active(rdpRdp* rdp, STREAM* s)
|
||||
|
||||
if (pduType != PDU_TYPE_DEMAND_ACTIVE)
|
||||
{
|
||||
printf("pduType bad\n");
|
||||
printf("expected PDU_TYPE_DEMAND_ACTIVE %04x, got %04x\n", PDU_TYPE_DEMAND_ACTIVE, pduType);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -497,8 +497,8 @@ boolean rdp_recv_data_pdu(rdpRdp* rdp, STREAM* s)
|
||||
}
|
||||
|
||||
#ifdef WITH_DEBUG_RDP
|
||||
if (type != DATA_PDU_TYPE_UPDATE)
|
||||
printf("recv %s Data PDU (0x%02X), length:%d\n",
|
||||
/* if (type != DATA_PDU_TYPE_UPDATE) */
|
||||
DEBUG_RDP("recv %s Data PDU (0x%02X), length:%d",
|
||||
type < ARRAY_SIZE(DATA_PDU_TYPE_STRINGS) ? DATA_PDU_TYPE_STRINGS[type] : "???", type, length);
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user