summaryrefslogtreecommitdiff
path: root/server/red-channel.c
diff options
context:
space:
mode:
authorJonathon Jongsma <jjongsma@redhat.com>2015-01-16 16:54:34 -0600
committerFrediano Ziglio <fziglio@redhat.com>2016-01-20 15:26:25 +0000
commit2a39131d5bd562981e66a5fe816e992669ad646d (patch)
treeb67e64f65c7fe16eea93582ab45d673e500f20bc /server/red-channel.c
parentb8be8a7886c71f5c9b0bbd4298f91cd414f7560d (diff)
Change some functions to take RedsState arg
In preparation for getting rid of the global 'reds' variable, we need to pass the RedsState variable to all functions where it is needed. For now the callers just pass in the global reds variable. Functions changed: - reds_link_mig_target_channels; - reds_on_migrate_dst_set_seamless; - reds_on_client_seamless_migrate_complete; - reds_on_client_semi_seamless_migrate_complete; - reds_handle_other_links; - reds_handle_link; - reds_send_mm_time; - reds_set_client_mm_time_latency; - reds_init_net; - do_spice_init; - reds_init_ssl; - on_activating_ticketing; - reds_mig_release to take RedsState arg - reds_mig_started. Acked-by: Pavel Grunt <pgrunt@redhat.com>
Diffstat (limited to 'server/red-channel.c')
-rw-r--r--server/red-channel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/red-channel.c b/server/red-channel.c
index efe889a6..2cf190c4 100644
--- a/server/red-channel.c
+++ b/server/red-channel.c
@@ -2201,7 +2201,7 @@ void red_client_semi_seamless_migrate_complete(RedClient *client)
}
}
pthread_mutex_unlock(&client->lock);
- reds_on_client_semi_seamless_migrate_complete(client);
+ reds_on_client_semi_seamless_migrate_complete(reds, client);
}
/* should be called only from the main thread */