From: Steve Brokenshire Date: Mon, 16 May 2016 20:47:58 +0000 (+0100) Subject: Set AccSSL to FALSE if AccSSLInc is not true. X-Git-Tag: release-0.13~16 X-Git-Url: http://Server1/repobrowser/?p=xestiaab%2F.git;a=commitdiff_plain;h=be3d3c9257321c02c42e483947942bc06b3afa4a Set AccSSL to FALSE if AccSSLInc is not true. --- 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);