Minor logging fixes in xrdp_iso.c

Two logging errors found while working in these files.
This commit is contained in:
Nexarian 2022-02-14 22:03:22 -05:00
parent 371c0dc873
commit d23f7328f8
2 changed files with 3 additions and 2 deletions

View File

@ -923,7 +923,7 @@ xrdp_channel_drdynvc_close(struct xrdp_channel *self, int chan_id)
LOG_DEVEL(LOG_LEVEL_TRACE, "Sending [MS-RDPEDYC] DYNVC_CLOSE " LOG_DEVEL(LOG_LEVEL_TRACE, "Sending [MS-RDPEDYC] DYNVC_CLOSE "
"cbId %d, Sp 0, Cmd 0x%2.2x, ChannelId %d", "cbId %d, Sp 0, Cmd 0x%2.2x, ChannelId %d",
cbChId, CMD_DVC_OPEN_CHANNEL, ChId); cbChId, CMD_DVC_CLOSE_CHANNEL, ChId);
if (xrdp_channel_send(self, s, static_channel_id, total_data_len, if (xrdp_channel_send(self, s, static_channel_id, total_data_len,
static_flags) != 0) static_flags) != 0)
{ {

View File

@ -428,7 +428,8 @@ xrdp_iso_send_cc(struct xrdp_iso *self)
out_uint16_le(s, 8); /* length (must be 8) */ out_uint16_le(s, 8); /* length (must be 8) */
out_uint32_le(s, self->selectedProtocol); /* selectedProtocol */ out_uint32_le(s, self->selectedProtocol); /* selectedProtocol */
LOG_DEVEL(LOG_LEVEL_TRACE, "Adding structure [MS-RDPBCGR] RDP_NEG_RSP " LOG_DEVEL(LOG_LEVEL_TRACE, "Adding structure [MS-RDPBCGR] RDP_NEG_RSP "
"flags 0, length 8, selectedProtocol 0x%8.8x", "flags 0x%02x, length 8, selectedProtocol 0x%8.8x",
EXTENDED_CLIENT_DATA_SUPPORTED,
self->selectedProtocol); self->selectedProtocol);
} }
} }