[gnome-remote-desktop] session-rdp: Also print client OS major and minor type strings



commit 9df5f5b273f33e1277e412b0f593691a3479ae11
Author: Pascal Nowack <Pascal Nowack gmx de>
Date:   Tue Jul 5 11:41:47 2022 +0200

    session-rdp: Also print client OS major and minor type strings
    
    This is useful for debugging purposes.

 src/grd-session-rdp.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/src/grd-session-rdp.c b/src/grd-session-rdp.c
index 78f5d9fe..dad54717 100644
--- a/src/grd-session-rdp.c
+++ b/src/grd-session-rdp.c
@@ -1914,7 +1914,9 @@ rdp_peer_post_connect (freerdp_peer *peer)
   SessionMetrics *session_metrics = &session_rdp->session_metrics;
   rdpSettings *rdp_settings = peer->settings;
 
-  g_debug ("New RDP client");
+  g_debug ("New RDP client: [OS major type, OS minor type]: [%s, %s]",
+           freerdp_peer_os_major_type_string (peer),
+           freerdp_peer_os_minor_type_string (peer));
 
   if (!rdp_settings->SupportGraphicsPipeline &&
       !rdp_settings->RemoteFxCodec &&


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]