[Spice-devel] [PATCH 05/15] Change reds_handle_other_links() to take RedsState arg

Frediano Ziglio fziglio at redhat.com
Wed Jan 20 05:25:17 PST 2016


From: Jonathon Jongsma <jjongsma at redhat.com>

---
 server/reds.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/server/reds.c b/server/reds.c
index 77e9bd6..1923bf5 100644
--- a/server/reds.c
+++ b/server/reds.c
@@ -1868,7 +1868,7 @@ void reds_on_client_semi_seamless_migrate_complete(RedsState *reds, RedClient *c
     main_channel_migrate_dst_complete(mcc);
 }
 
-static void reds_handle_other_links(RedLinkInfo *link)
+static void reds_handle_other_links(RedsState *reds, RedLinkInfo *link)
 {
     RedChannel *channel;
     RedClient *client = NULL;
@@ -1931,7 +1931,7 @@ static void reds_handle_link(RedLinkInfo *link)
     if (link->link_mess->channel_type == SPICE_CHANNEL_MAIN) {
         reds_handle_main_link(reds, link);
     } else {
-        reds_handle_other_links(link);
+        reds_handle_other_links(reds, link);
     }
 }
 
-- 
2.4.3



More information about the Spice-devel mailing list