From 3bfa59472e6cf4fad159c9a03875b79795d48193 Mon Sep 17 00:00:00 2001 From: matt335672 <30179339+matt335672@users.noreply.github.com> Date: Fri, 16 Aug 2024 11:18:15 +0100 Subject: [PATCH] Fix misreported cache size Printed offscreen bitmap cache size is in bytes, not MB. --- libxrdp/xrdp_caps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libxrdp/xrdp_caps.c b/libxrdp/xrdp_caps.c index 883710290..3eab5b7c7 100644 --- a/libxrdp/xrdp_caps.c +++ b/libxrdp/xrdp_caps.c @@ -510,7 +510,7 @@ xrdp_caps_process_offscreen_bmpcache(struct xrdp_rdp *self, struct stream *s, in_uint16_le(s, i32); self->client_info.offscreen_cache_entries = i32; LOG(LOG_LEVEL_INFO, "xrdp_process_offscreen_bmpcache: support level %d " - "cache size %d MB cache entries %d", + "cache size %d bytes cache entries %d", self->client_info.offscreen_support_level, self->client_info.offscreen_cache_size, self->client_info.offscreen_cache_entries);