Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Moved actual fetching of server contact data until after verifying that the SSL conne...
authorSteve Brokenshire <sbrokenshire@xestia.co.uk>
Sat, 14 May 2016 08:44:33 +0000 (09:44 +0100)
committerSteve Brokenshire <sbrokenshire@xestia.co.uk>
Sat, 14 May 2016 08:44:33 +0000 (09:44 +0100)
source/actmgr/frmActivityMgr.cpp

index 0314c8f..9bef583 100644 (file)
@@ -1013,13 +1013,6 @@ void frmActivityMgr::ProcessTasksThread()
                                        std::map<wxString,FileSyncData> *SCListData = NULL;
                                        
                                        while (ExitLoop == FALSE){
-                                       
-                                               ServerContactList = ConnHandle.GetContactList(SyncTokenLoad.ToUTF8());
-                                               SSLCertCollection certcol = ConnHandle.GetCertificateData();
-                               
-                                               // Create a pointer for the std::map<wxString,FileSyncData>.
-                               
-                                               SCListData = &ServerContactList.ListData;
                                
                                                // Check if any errors have occured whilst getting the data.
                                
@@ -1161,6 +1154,13 @@ void frmActivityMgr::ProcessTasksThread()
                                
                                        bool ContinueProcess = AccDir.GetFirst(&AccDirFilename, wxEmptyString, wxDIR_DEFAULT);
                                
+                                       ServerContactList = ConnHandle.GetContactList(SyncTokenLoad.ToUTF8());
+                                       SSLCertCollection certcol = ConnHandle.GetCertificateData();
+
+                                       // Create a pointer for the std::map<wxString,FileSyncData>.
+
+                                       SCListData = &ServerContactList.ListData;
+
                                        // Process the server data.
 
                                        if (SCListData != NULL){
Xestia Software Development
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software

Xestia Address Book
Xestia Calendar
Development

Xestia Gelforn
Everything else

About
News
Privacy Policy