summaryrefslogtreecommitdiffstats
path: root/libxrdp
diff options
context:
space:
mode:
authorspeidy <speidy@gmail.com>2016-12-29 03:31:53 -0500
committerspeidy <speidy@gmail.com>2016-12-29 08:38:59 -0500
commit70e9132ab1fa90c71ef034cddc2f2500ce528822 (patch)
tree693002797a4bb9bd3b62aa12f27e32aede3370e8 /libxrdp
parent1f930f252ff1ccac30bae24740b0a2a7fd6f6bac (diff)
downloadxrdp-proprietary-70e9132ab1fa90c71ef034cddc2f2500ce528822.tar.gz
xrdp-proprietary-70e9132ab1fa90c71ef034cddc2f2500ce528822.zip
xrdp: add some logging, remove unused var
Diffstat (limited to 'libxrdp')
-rw-r--r--libxrdp/xrdp_caps.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libxrdp/xrdp_caps.c b/libxrdp/xrdp_caps.c
index 66c8c88d..c4ec7b02 100644
--- a/libxrdp/xrdp_caps.c
+++ b/libxrdp/xrdp_caps.c
@@ -541,6 +541,8 @@ xrdp_caps_process_frame_ack(struct xrdp_rdp *self, struct stream *s, int len)
in_uint32_le(s, self->client_info.max_unacknowledged_frame_count);
if (self->client_info.max_unacknowledged_frame_count < 0)
{
+ g_writeln(" invalid max_unacknowledged_frame_count value (%d), setting to 0",
+ self->client_info.max_unacknowledged_frame_count);
self->client_info.max_unacknowledged_frame_count = 0;
}
g_writeln(" max_unacknowledged_frame_count %d", self->client_info.max_unacknowledged_frame_count);