[Spice-devel] [PATCH 01/16] Change reds_mig_fill_wait_disconnect() to take RedsState arg
Frediano Ziglio
fziglio at redhat.com
Wed Jan 20 07:43:27 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 d018b1d..101e957 100644
--- a/server/reds.c
+++ b/server/reds.c
@@ -2850,7 +2850,7 @@ static void reds_mig_started(RedsState *reds)
core->timer_start(reds->mig_timer, MIGRATE_TIMEOUT);
}
-static void reds_mig_fill_wait_disconnect(void)
+static void reds_mig_fill_wait_disconnect(RedsState *reds)
{
RingItem *client_item;
@@ -2925,7 +2925,7 @@ static void reds_mig_finished(int completed)
}
if (completed) {
- reds_mig_fill_wait_disconnect();
+ reds_mig_fill_wait_disconnect(reds);
} else {
reds_mig_cleanup(reds);
}
--
2.4.3
More information about the Spice-devel
mailing list