[Spice-devel] [PATCH 08/15] Change reds_mig_target_client_add() to take RedsState arg
Frediano Ziglio
fziglio at redhat.com
Tue Jan 19 06:29:41 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 3e360d3..e713cf4 100644
--- a/server/reds.c
+++ b/server/reds.c
@@ -1554,7 +1554,7 @@ int reds_expects_link_id(uint32_t connection_id)
return 1;
}
-static void reds_mig_target_client_add(RedClient *client)
+static void reds_mig_target_client_add(RedsState *reds, RedClient *client)
{
RedsMigTargetClient *mig_client;
@@ -1723,7 +1723,7 @@ static void reds_handle_main_link(RedLinkInfo *link)
if (spice_uuid_is_set)
main_channel_push_uuid(mcc, spice_uuid);
} else {
- reds_mig_target_client_add(client);
+ reds_mig_target_client_add(reds, client);
}
if (reds_stream_get_family(stream) != AF_UNIX)
--
2.4.3
More information about the Spice-devel
mailing list