[Spice-commits] client/red_client.cpp

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


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

New commits:
commit f19ac970efe62c7dcbfdc6d4d5b9d2e6c35e8b2b
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 d0e7a3f..e084759 100644
--- a/client/red_client.cpp
+++ b/client/red_client.cpp
@@ -541,6 +541,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