X-Git-Url: http://Server1/repobrowser/?a=blobdiff_plain;f=source%2FfrmNewAccount.cpp;h=36a1f7165dbdefada6e85700b79e3f2452d24a44;hb=0b0653fe89542994aa91b0cef674a123ba66bedf;hp=87681963e58b89ea3b0bc305d68177cd32a5be75;hpb=b82f9b7c272b286707dcdfb5a30d8f47f9e60167;p=xestiaab%2F.git diff --git a/source/frmNewAccount.cpp b/source/frmNewAccount.cpp index 8768196..36a1f71 100644 --- a/source/frmNewAccount.cpp +++ b/source/frmNewAccount.cpp @@ -24,12 +24,12 @@ #if defined(__WIN32__) #include +#include "common/win32ssl.h" #endif #include "carddav/carddav.h" #include "common/dirs.h" #include "common/svrblist.h" -#include "common/win32ssl.h" #include "frmInvalidSSLCertificate.h" frmNewAccount::frmNewAccount( wxWindow* parent ) @@ -321,8 +321,12 @@ void frmNewAccount::ProcessNext( wxCommandEvent& event ) std::thread ConnTest(&CardDAV::Connect, &CardDAVConn); ConnTest.join(); - + +#if defined(__WIN32__) if (ServerResult == FALSE && ModifiedCertificateData == FALSE){ +#else + if (ServerResult == FALSE){ +#endif lblServerConnResult->SetLabel(_("Failed")); lblConnectionResultText->SetLabel(_("An error occured whilst connnecting: ") + CardDAVConn.GetErrorMessage());