diff options
author | Hans de Goede <hdegoede@redhat.com> | 2013-03-14 17:20:00 +0100 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2013-03-15 09:44:50 +0100 |
commit | 25f84a2d6e0a007a08f3907ce98d535d785b12d5 (patch) | |
tree | d7541aa5bdd186d8528b81a57cd13338e6fb2ddf | |
parent | 8d44aa032892ea6643925fa7485d9af32853e127 (diff) | |
download | spice-25f84a2d6e0a007a08f3907ce98d535d785b12d5.tar.gz spice-25f84a2d6e0a007a08f3907ce98d535d785b12d5.tar.xz spice-25f84a2d6e0a007a08f3907ce98d535d785b12d5.zip |
inputs-channel: Don't send insecure keyb notify to in migrate client
This fixes spice-gtk printing message like these on migration:
(remote-viewer:18402): GSpice-CRITICAL **: spice_channel_iterate_read: assertion `c->state != SPICE_CHANNEL_STATE_MIGRATING' failed
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
-rw-r--r-- | server/inputs_channel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/inputs_channel.c b/server/inputs_channel.c index c9c79be4..c968bb2b 100644 --- a/server/inputs_channel.c +++ b/server/inputs_channel.c @@ -522,7 +522,7 @@ static void inputs_connect(RedChannel *channel, RedClient *client, spice_assert(g_inputs_channel); spice_assert(channel == &g_inputs_channel->base); - if (!stream->ssl) { + if (!stream->ssl && !red_client_during_migrate_at_target(client)) { main_channel_client_push_notify(red_client_get_main(client), "keyboard channel is insecure"); } |