summaryrefslogtreecommitdiffstats
path: root/libxrdp
diff options
context:
space:
mode:
authorspeidy <speidy@gmail.com>2016-12-13 18:18:34 -0500
committerspeidy <speidy@gmail.com>2016-12-13 18:18:34 -0500
commit917aadd2d1a9b0e7373948ab9f52dcb9b93032e0 (patch)
tree6f6dd471783e32c442fad8f9c31c4a4f72ef3626 /libxrdp
parent3dc0f2860c19e7c7d43d4c5a709dc13f16ff1f7a (diff)
downloadxrdp-proprietary-917aadd2d1a9b0e7373948ab9f52dcb9b93032e0.tar.gz
xrdp-proprietary-917aadd2d1a9b0e7373948ab9f52dcb9b93032e0.zip
libxrdp: more constants
Diffstat (limited to 'libxrdp')
-rw-r--r--libxrdp/xrdp_caps.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libxrdp/xrdp_caps.c b/libxrdp/xrdp_caps.c
index 237370e9..26a6eebc 100644
--- a/libxrdp/xrdp_caps.c
+++ b/libxrdp/xrdp_caps.c
@@ -926,14 +926,14 @@ xrdp_caps_send_demand_active(struct xrdp_rdp *self)
{
/* multifragment update */
caps_count++;
- out_uint16_le(s, 0x001A); /* 26 CAPSETTYPE_MULTIFRAGMENTUPDATE */
- out_uint16_le(s, 8);
+ out_uint16_le(s, RDP_CAPSET_MULTIFRAGMENT); /* 26 CAPSETTYPE_MULTIFRAGMENTUPDATE */
+ out_uint16_le(s, RDP_CAPLEN_MULTIFRAGMENT);
out_uint32_le(s, 3 * 1024 * 1024); /* 3MB */
/* frame acks */
caps_count++;
- out_uint16_le(s, 0x001E); /* CAPSETTYPE_FRAME_ACKNOWLEDGE */
- out_uint16_le(s, 8);
+ out_uint16_le(s, RDP_CAPSET_FRAME_ACKNOWLEDGE); /* CAPSETTYPE_FRAME_ACKNOWLEDGE */
+ out_uint16_le(s, RDP_CAPLEN_FRAME_ACKNOWLEDGE);
out_uint32_le(s, 2); /* 2 frames in flight */
/* surface commands */