From f19ac970efe62c7dcbfdc6d4d5b9d2e6c35e8b2b Mon Sep 17 00:00:00 2001 From: Alon Levy Date: Wed, 3 Aug 2011 22:54:53 +0300 Subject: 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. --- client/red_client.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'client/red_client.cpp') 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(); } -- cgit