From f15f092a696ebcafb3f402c511ba24be98557e7f Mon Sep 17 00:00:00 2001 From: Jason Ish Date: Wed, 25 Jan 2023 11:07:19 -0600 Subject: [PATCH] rfb: remove duplicate logging of depth The "depth" field in the "pixel_format" object was being logged twice. Issue: 5813 --- rust/src/rfb/logger.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/rust/src/rfb/logger.rs b/rust/src/rfb/logger.rs index b39e83e2e0..e670e869ce 100644 --- a/rust/src/rfb/logger.rs +++ b/rust/src/rfb/logger.rs @@ -102,7 +102,6 @@ fn log_rfb(tx: &RFBTransaction, js: &mut JsonBuilder) -> Result<(), JsonError> { js.set_uint("red_shift", tc_server_init.pixel_format.red_shift as u64)?; js.set_uint("green_shift", tc_server_init.pixel_format.green_shift as u64)?; js.set_uint("blue_shift", tc_server_init.pixel_format.blue_shift as u64)?; - js.set_uint("depth", tc_server_init.pixel_format.depth as u64)?; js.close()?; js.close()?;