From b4b3df8a16aef72a6ca921ada062c2982b959c55 Mon Sep 17 00:00:00 2001 From: Alex Borisov Date: Fri, 2 Dec 2011 04:27:14 +0200 Subject: Request Config from server as it's working by now --- client/UpdatedConfig.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'client/UpdatedConfig.cpp') diff --git a/client/UpdatedConfig.cpp b/client/UpdatedConfig.cpp index 99a89db..9cf91dd 100644 --- a/client/UpdatedConfig.cpp +++ b/client/UpdatedConfig.cpp @@ -65,13 +65,11 @@ void UpdatedConfig::update() retryFailed = false; } - /* if (! (updateStatus & (1 << SslClient::Config))) { client->SendRequest(SslClient::Config); } - */ - if (! (updateStatus & (1 << SslClient::GenericProxyList))) + else if (! (updateStatus & (1 << SslClient::GenericProxyList))) { client->SendRequest(SslClient::GenericProxyList); } @@ -128,6 +126,7 @@ void UpdatedConfig::gotServerReply(SslClient::RequestType &type, QByteArray &con { case SslClient::Config: ParseConfig(confdata.constData()); + Logger::Debug("Config data:\n %s", confdata.constData()); break; case SslClient::GenericProxyList: ParseGenericProxies(confdata.constData()); -- cgit v1.2.3