diff options
author | Alex Borisov <borisov.alexandr@rambler.ru> | 2011-12-03 18:11:42 +0200 |
---|---|---|
committer | Alex Borisov <borisov.alexandr@rambler.ru> | 2011-12-03 18:11:42 +0200 |
commit | 5a605e79cb440dfea4ae50d107f9b1082c319e9c (patch) | |
tree | 23a9b313dc32352197e70d2d33ff0d4a5695edf5 | |
parent | 5d0b189266cd645dbe79a4ec3c216f07ea768cb1 (diff) |
FIX Initialize updateStatus before config update
-rw-r--r-- | client/UpdatedConfig.cpp | 1 | ||||
-rw-r--r-- | client/main.cpp | 3 |
2 files changed, 2 insertions, 2 deletions
diff --git a/client/UpdatedConfig.cpp b/client/UpdatedConfig.cpp index ac8ec10..860042d 100644 --- a/client/UpdatedConfig.cpp +++ b/client/UpdatedConfig.cpp @@ -27,6 +27,7 @@ UpdatedConfig::UpdatedConfig() activeSrvIndex = 0; time = 0; retryFailed = false; + updateStatus = 0; if (servers.size() == 0) { diff --git a/client/main.cpp b/client/main.cpp index 9fd9c58..dc007a2 100644 --- a/client/main.cpp +++ b/client/main.cpp @@ -1,5 +1,5 @@ -#include <stdio.h> /* defines FILENAME_MAX */ +#include <stdio.h> #ifdef WINDOWS #include <direct.h> #define GetCurrentDir _getcwd @@ -8,7 +8,6 @@ #define GetCurrentDir getcwd #endif #include <errno.h> - #include <QString> #include <QFileInfo> #include "ProxyClientApp.h" |