summaryrefslogtreecommitdiffstats
path: root/client/red_client.cpp
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2011-08-03 22:54:53 +0300
committerAlon Levy <alevy@redhat.com>2011-08-03 23:01:42 +0300
commitf19ac970efe62c7dcbfdc6d4d5b9d2e6c35e8b2b (patch)
treed39845b24e6ce8a97837c2a96feb8a9691e7abc8 /client/red_client.cpp
parent3582adb989cdb6e1e75bf9341ffcebf35e58b737 (diff)
downloadspice-f19ac970efe62c7dcbfdc6d4d5b9d2e6c35e8b2b.tar.gz
spice-f19ac970efe62c7dcbfdc6d4d5b9d2e6c35e8b2b.tar.xz
spice-f19ac970efe62c7dcbfdc6d4d5b9d2e6c35e8b2b.zip
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.
Diffstat (limited to 'client/red_client.cpp')
-rw-r--r--client/red_client.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/client/red_client.cpp b/client/red_client.cpp
index d0e7a3fb..e0847599 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();
}