[Spice-devel] [PATCH 15/15] Change reds_mig_disconnect() to take RedsState arg
Frediano Ziglio
fziglio at redhat.com
Thu Jan 14 06:33:26 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 9b3c605..9868928 100644
--- a/server/reds.c
+++ b/server/reds.c
@@ -585,7 +585,7 @@ static void reds_disconnect(RedsState *reds)
reds_mig_cleanup(reds);
}
-static void reds_mig_disconnect(void)
+static void reds_mig_disconnect(RedsState *reds)
{
if (reds_main_channel_connected(reds)) {
reds_disconnect(reds);
@@ -2947,7 +2947,7 @@ static void migrate_timeout(void *opaque)
reds_mig_target_client_disconnect_all();
reds_mig_cleanup(reds);
} else {
- reds_mig_disconnect();
+ reds_mig_disconnect(reds);
}
}
--
2.4.3
More information about the Spice-devel
mailing list