[gnome-remote-desktop] rdp-graphics-pipeline: Fix incorrect warning



commit 01f5ee690685b127e18b5ecaec11b20abb3e9434
Author: Pascal Nowack <Pascal Nowack gmx de>
Date:   Sat Jun 18 07:15:24 2022 +0200

    rdp-graphics-pipeline: Fix incorrect warning
    
    When the Open() call of a DVC fails, it was not due to a client issue,
    but an issue on the server side, where the allocation of resources
    failed.
    
    So, fix this warning accordingly.

 src/grd-rdp-graphics-pipeline.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/src/grd-rdp-graphics-pipeline.c b/src/grd-rdp-graphics-pipeline.c
index 99ac53cc..ef358692 100644
--- a/src/grd-rdp-graphics-pipeline.c
+++ b/src/grd-rdp-graphics-pipeline.c
@@ -1406,13 +1406,11 @@ grd_rdp_graphics_pipeline_maybe_init (GrdRdpGraphicsPipeline *graphics_pipeline)
   rdpgfx_context = graphics_pipeline->rdpgfx_context;
   if (!rdpgfx_context->Open (rdpgfx_context))
     {
-      g_warning ("[RDP.RDPGFX] Failed to open Graphics Pipeline. The client "
-                 "probably falsely advertised GFX support");
+      g_warning ("[RDP.RDPGFX] Failed to open channel. Terminating session");
       grd_session_rdp_notify_error (graphics_pipeline->session_rdp,
                                     GRD_SESSION_RDP_ERROR_GRAPHICS_SUBSYSTEM_FAILED);
       return;
     }
-
   graphics_pipeline->channel_opened = TRUE;
 
   return;


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