diff --git a/libxrdp/xrdp_channel.c b/libxrdp/xrdp_channel.c index fff00ece..f43804d7 100644 --- a/libxrdp/xrdp_channel.c +++ b/libxrdp/xrdp_channel.c @@ -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 " "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, static_flags) != 0) { diff --git a/libxrdp/xrdp_iso.c b/libxrdp/xrdp_iso.c index f2593694..dde7a3ea 100644 --- a/libxrdp/xrdp_iso.c +++ b/libxrdp/xrdp_iso.c @@ -428,7 +428,8 @@ xrdp_iso_send_cc(struct xrdp_iso *self) out_uint16_le(s, 8); /* length (must be 8) */ out_uint32_le(s, self->selectedProtocol); /* selectedProtocol */ 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); } }