diff options
author | Alex Borisov <borisov.alexandr@rambler.ru> | 2011-12-01 03:11:09 +0200 |
---|---|---|
committer | Alex Borisov <borisov.alexandr@rambler.ru> | 2011-12-01 03:11:09 +0200 |
commit | 918defcaea2b570a927a2884ce0e720b03e32d8a (patch) | |
tree | 5c05b21f2c565a3ccc0124edf3af175657205d04 /client/UpdatedConfig.cpp | |
parent | 70dc6021943eacded7c26f2ca66375f64f19d819 (diff) |
FIX file transfer; FIX packet parsing bug; + many various fixes and improvements
Diffstat (limited to 'client/UpdatedConfig.cpp')
-rw-r--r-- | client/UpdatedConfig.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/client/UpdatedConfig.cpp b/client/UpdatedConfig.cpp index a59bc67..99a89db 100644 --- a/client/UpdatedConfig.cpp +++ b/client/UpdatedConfig.cpp @@ -65,10 +65,12 @@ void UpdatedConfig::update() retryFailed = false; } + /* if (! (updateStatus & (1 << SslClient::Config))) { client->SendRequest(SslClient::Config); } + */ if (! (updateStatus & (1 << SslClient::GenericProxyList))) { client->SendRequest(SslClient::GenericProxyList); @@ -113,7 +115,7 @@ void UpdatedConfig::gotServerReply(SslClient::RequestType &type, QByteArray &con Logger::Trace("Got server reply w type: %x\n", type); if (confdata.size() == 0) { - Logger::Warn("Empty server reply recieved"); + Logger::Warn("Empty server reply recieved\n"); goto end; } @@ -149,7 +151,7 @@ void UpdatedConfig::gotServerReply(SslClient::RequestType &type, QByteArray &con updateStatus |= (1 << type); end: - if (updateStatus != 0x7E) + if (updateStatus != UPDATED_STATE_FULL) { Logger::Trace("Still need to update other config parts. Update status: %x\n", updateStatus); update(); |