summaryrefslogtreecommitdiffstats
path: root/libxrdp/xrdp_caps.c
diff options
context:
space:
mode:
authorJay Sorg <jay.sorg@gmail.com>2016-03-14 17:04:08 -0700
committerJay Sorg <jay.sorg@gmail.com>2016-03-14 17:04:08 -0700
commit38241f2a0bd8909815cce67adb56d29619b19ad1 (patch)
tree0492997b6ec068f5d5abef4a113855a021d231df /libxrdp/xrdp_caps.c
parent73935792058af2664ebb59108ba6b3fed8e8fcc0 (diff)
downloadxrdp-proprietary-38241f2a0bd8909815cce67adb56d29619b19ad1.tar.gz
xrdp-proprietary-38241f2a0bd8909815cce67adb56d29619b19ad1.zip
Fix all format warnings and some unused variable warnings
Diffstat (limited to 'libxrdp/xrdp_caps.c')
-rw-r--r--libxrdp/xrdp_caps.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libxrdp/xrdp_caps.c b/libxrdp/xrdp_caps.c
index 6d109f76..300704c6 100644
--- a/libxrdp/xrdp_caps.c
+++ b/libxrdp/xrdp_caps.c
@@ -562,7 +562,8 @@ xrdp_caps_process_confirm_active(struct xrdp_rdp *self, struct stream *s)
in_uint16_le(s, len);
if ((len < 4) || !s_check_rem(s, len - 4))
{
- g_writeln("xrdp_caps_process_confirm_active: error len %d", len, s->end - s->p);
+ g_writeln("xrdp_caps_process_confirm_active: error: len %d, "
+ "remaining %d", len, (int) (s->end - s->p));
return 1;
}
len -= 4;