diff --git a/common/xrdp_constants.h b/common/xrdp_constants.h index 1302b1af..e3ae5517 100644 --- a/common/xrdp_constants.h +++ b/common/xrdp_constants.h @@ -431,7 +431,7 @@ #define ORDER_CAP_NEGOTIATE 2 /* NEGOTIATEORDERSUPPORT? not used */ #define ORDER_CAP_NOSUPPORT 4 /* not used */ -#define CAPSTYPE_BITMACACHE 0x0004 +#define CAPSTYPE_BITMAPCACHE 0x0004 #define CAPSTYPE_BITMAPCACHE_LEN 0x28 #define CAPSTYPE_CONTROL 0x0005 diff --git a/libxrdp/xrdp_caps.c b/libxrdp/xrdp_caps.c index 42d93b10..4d1ab45f 100644 --- a/libxrdp/xrdp_caps.c +++ b/libxrdp/xrdp_caps.c @@ -648,7 +648,7 @@ xrdp_caps_process_confirm_active(struct xrdp_rdp *self, struct stream *s) DEBUG(("CAPSTYPE_ORDER")); xrdp_caps_process_order(self, s, len); break; - case CAPSTYPE_BITMACACHE: + case CAPSTYPE_BITMAPCACHE: DEBUG(("CAPSTYPE_BMPCACHE")); xrdp_caps_process_bmpcache(self, s, len); break;