Skip to content

Commit

Permalink
Fix misreported cache size
Browse files Browse the repository at this point in the history
Printed offscreen bitmap cache size is in bytes, not MB.

(cherry picked from commit 3bfa594)
  • Loading branch information
matt335672 committed Aug 19, 2024
1 parent 82bec9d commit 6a1a056
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libxrdp/xrdp_caps.c
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,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);
Expand Down

0 comments on commit 6a1a056

Please sign in to comment.