diff options
author | Alex Borisov <borisov.alexandr@rambler.ru> | 2011-12-05 00:14:31 +0200 |
---|---|---|
committer | Alex Borisov <borisov.alexandr@rambler.ru> | 2011-12-05 00:14:31 +0200 |
commit | 66732a17595882c9921579f8f22f0e6f307050f4 (patch) | |
tree | f32069c8c3423da965e9dae98f61b39c31b2b8ce /client/UpdatedConfig.cpp | |
parent | 7648ef9f419974ddd5fccaeaa9bf06b9a5e660b3 (diff) |
FIX inf loop when empty pkts recieved
Diffstat (limited to 'client/UpdatedConfig.cpp')
-rw-r--r-- | client/UpdatedConfig.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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); |