X-Git-Url: http://Server1/repobrowser/?a=blobdiff_plain;f=source%2FfrmEditAccount.cpp;h=920f5267a9708e7807ad573dce953f67f23eacb6;hb=ce18438e729e6c11eebd3a5fb73f4039fdda33a0;hp=b4f25a70ca4d7875d134e26608b247a872d98f40;hpb=5b9dfdbcb6c0ab7be6988b58da32e60d7cee3ec0;p=xestiaab%2F.git diff --git a/source/frmEditAccount.cpp b/source/frmEditAccount.cpp index b4f25a7..920f526 100644 --- a/source/frmEditAccount.cpp +++ b/source/frmEditAccount.cpp @@ -17,6 +17,7 @@ // with Xestia Address Book. If not, see #include "frmEditAccount.h" +#include "common/svrdlist.h" frmEditAccount::frmEditAccount( wxWindow* parent ) : @@ -167,8 +168,6 @@ void frmEditAccount::DetectAddressBook( wxCommandEvent& event ) TestConnection.BypassSSLVerification(true); COConnectResult TestConnectionResult = TestConnection.Connect(true); - - TestConnection.BypassSSLVerification(false); } else if (SSLResult == 2){ @@ -276,10 +275,10 @@ void frmEditAccount::LoadSettings( wxString AccNameIn ){ void frmEditAccount::UpdateSettings( wxCommandEvent& event ) { - // Check if server address matches against the blacklist. + // Check if server address matches against the dangerous list. // Bring up warning message if it does. - if (CheckBlacklist(txtAddress->GetValue())){ + if (CheckDangerousList(txtAddress->GetValue())){ int MessageBoxResult = wxMessageBox(_("The server with the address given does not support the CardDAV protocol properly and shouldn't be used.\n\nData loss is very likely.\n\nDo you still want to continue using this server?"), _("Server warning"), wxYES_NO, this);