From 1b68eff7ec3cc2037f522be863aaf6fa61849f51 Mon Sep 17 00:00:00 2001 From: Jonathon Jongsma Date: Fri, 16 Jan 2015 16:46:31 -0600 Subject: Change reds_mig_target_client_add() to take RedsState arg --- server/reds.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/reds.c b/server/reds.c index fe0334c7..4ff0619e 100644 --- a/server/reds.c +++ b/server/reds.c @@ -1486,7 +1486,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; @@ -1655,7 +1655,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); } main_channel_client_start_net_test(mcc, !mig_target); } -- cgit