[Spice-devel] [PATCH spice-server v2 4/7] fixup! Convert RedChannelClient hierarchy to GObject

Frediano Ziglio fziglio at redhat.com
Fri Sep 30 13:21:49 UTC 2016


Initialise id field in DisplayChannelClient.
This line was removed.

Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
---
 server/dcc.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/server/dcc.c b/server/dcc.c
index bb85861..08866c9 100644
--- a/server/dcc.c
+++ b/server/dcc.c
@@ -521,6 +521,7 @@ DisplayChannelClient *dcc_new(DisplayChannel *display,
                          NULL);
     spice_info("New display (client %p) dcc %p stream %p", client, dcc, stream);
     display->common.during_target_migrate = mig_target;
+    dcc->priv->id = display->common.qxl->id;
 
     if (common_caps_array)
         g_array_unref(common_caps_array);
-- 
2.7.4



More information about the Spice-devel mailing list