[Spice-commits] Branch '0.8' - client/red_client.cpp

Alon Levy alon at kemper.freedesktop.org
Wed Aug 3 13:02:48 PDT 2011


 client/red_client.cpp |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 6862c810f311ecc5c6cc945cb8c0104415aac765
Author: Alon Levy <alevy at redhat.com>
Date:   Wed Aug 3 22:54:53 2011 +0300

    client/red_client: fix broken switch host migration (RHBZ 727969)
    
    3f8d7e59dbd94b1837503f37b5065698df3ffbc7 introduced a regression, after
    sending one attach_channels message we never send another one.
    Fix by resetting on disconnect.

diff --git a/client/red_client.cpp b/client/red_client.cpp
index 330c6b5..3de359d 100644
--- a/client/red_client.cpp
+++ b/client/red_client.cpp
@@ -538,6 +538,7 @@ void RedClient::connect(bool wait_main_disconnect)
 void RedClient::disconnect()
 {
     _migrate.abort();
+    _msg_attach_channels_sent = false;
     RedChannel::disconnect();
 }
 


More information about the Spice-commits mailing list