From 66732a17595882c9921579f8f22f0e6f307050f4 Mon Sep 17 00:00:00 2001 From: Alex Borisov Date: Mon, 5 Dec 2011 00:14:31 +0200 Subject: FIX inf loop when empty pkts recieved --- client/UpdatedConfig.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'client/UpdatedConfig.cpp') diff --git a/client/UpdatedConfig.cpp b/client/UpdatedConfig.cpp index 9ebae8a..739210d 100644 --- a/client/UpdatedConfig.cpp +++ b/client/UpdatedConfig.cpp @@ -159,9 +159,10 @@ void UpdatedConfig::gotServerReply(SslClient::RequestType &type, QByteArray &con Logger::Warn("Unknown reply type: %x\n", type); break; } - updateStatus |= (1 << type); end: + updateStatus |= (1 << type); + if (updateStatus != UPDATED_STATE_FULL) { Logger::Trace("Still need to update other config parts. Update status: %x\n", updateStatus); -- cgit v1.2.3