From be3d3c9257321c02c42e483947942bc06b3afa4a Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Mon, 16 May 2016 21:47:58 +0100 Subject: [PATCH] Set AccSSL to FALSE if AccSSLInc is not true. --- source/common/preferences.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/common/preferences.cpp b/source/common/preferences.cpp index 0a739e5..d8c1a53 100644 --- a/source/common/preferences.cpp +++ b/source/common/preferences.cpp @@ -169,6 +169,9 @@ XABPreferences::XABPreferences(wxString PreferencesFilename){ if (AccSSLInc == wxT("true")){ AccSSL = TRUE; } + else { + AccSSL = FALSE; + } accountusernamevalid = cfgfile->Read(wxT("username"), &AccUsr); accountpasswordvalid = cfgfile->Read(wxT("password"), &AccPass); accountdirprefixvalid = cfgfile->Read(wxT("prefix"), &AccPrefix); -- 2.39.5