From: Victor Toso <me@xxxxxxxxxxxxxx> The migration process would happen in idle, so the process only fails at a later time. No call to migrate_channel_connect() is actually checking the return value. Signed-off-by: Victor Toso <victortoso@xxxxxxxxxx> --- src/channel-main.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/channel-main.c b/src/channel-main.c index afdc1ce..a1e5498 100644 --- a/src/channel-main.c +++ b/src/channel-main.c @@ -2168,15 +2168,14 @@ static void migrate_channel_new_cb(SpiceSession *s, SpiceChannel *channel, gpoin G_CALLBACK(migrate_channel_event_cb), data); } -static SpiceChannel* migrate_channel_connect(spice_migrate *mig, int type, int id) +static void +migrate_channel_connect(spice_migrate *mig, int type, int id) { SPICE_DEBUG("migrate_channel_connect %d:%d", type, id); SpiceChannel *newc = spice_channel_new(mig->session, type, id); spice_channel_connect(newc); mig->nchannels++; - - return newc; } /* coroutine context */ -- 2.21.0 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel