From 3000e4130b54028e8b10040fda3d9fc6f7302959 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 19 Nov 2013 18:38:56 +0000 Subject: compilation fix git-svn-id: http://svn.miranda-ng.org/main/trunk@6939 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Db3x_mmap/src/dbsettings.cpp | 3 ++- plugins/Dbx_tree/src/Compatibility.cpp | 3 ++- plugins/LotusNotify/src/LotusNotify.cpp | 3 --- 3 files changed, 4 insertions(+), 5 deletions(-) (limited to 'plugins') diff --git a/plugins/Db3x_mmap/src/dbsettings.cpp b/plugins/Db3x_mmap/src/dbsettings.cpp index d0ea542bb5..915975388e 100644 --- a/plugins/Db3x_mmap/src/dbsettings.cpp +++ b/plugins/Db3x_mmap/src/dbsettings.cpp @@ -39,8 +39,9 @@ DWORD __forceinline GetSettingValueLength(PBYTE pSetting) static bool isEncrypted(LPCSTR szModule, LPCSTR szSetting) { - if (!_strnicmp(szSetting, "password", 8)) return true; + if (!_strnicmp(szSetting, "password", 8)) return true; if (!strcmp(szSetting, "NLProxyAuthPassword")) return true; + if (!strcmp(szSetting, "LNPassword")) return true; if (!strcmp(szSetting, "FileProxyPassword")) return true; if (!strcmp(szSetting, "TokenSecret")) return true; diff --git a/plugins/Dbx_tree/src/Compatibility.cpp b/plugins/Dbx_tree/src/Compatibility.cpp index 921b772370..4ea0092e7b 100644 --- a/plugins/Dbx_tree/src/Compatibility.cpp +++ b/plugins/Dbx_tree/src/Compatibility.cpp @@ -157,8 +157,9 @@ STDMETHODIMP_(HANDLE) CDataBase::FindNextContact(HANDLE hContact, const char* sz static bool isEncrypted(LPCSTR szModule, LPCSTR szSetting) { - if (!_strnicmp(szSetting, "password", 8)) return true; + if (!_strnicmp(szSetting, "password", 8)) return true; if (!strcmp(szSetting, "NLProxyAuthPassword")) return true; + if (!strcmp(szSetting, "LNPassword")) return true; if (!strcmp(szSetting, "FileProxyPassword")) return true; if (!strcmp(szSetting, "TokenSecret")) return true; diff --git a/plugins/LotusNotify/src/LotusNotify.cpp b/plugins/LotusNotify/src/LotusNotify.cpp index 29052842c6..c349d8243e 100644 --- a/plugins/LotusNotify/src/LotusNotify.cpp +++ b/plugins/LotusNotify/src/LotusNotify.cpp @@ -990,7 +990,6 @@ void LoadSettings() if(!db_get(NULL, PLUGINNAME, "LNPassword", &dbv)) strncpy_s(settingPassword, _countof(settingPassword), dbv.pszVal, SIZEOF(settingPassword)); db_free(&dbv); - CallService(MS_DB_CRYPT_DECODESTRING, sizeof(settingPassword), (LPARAM)settingPassword); if(!db_get_s(NULL, PLUGINNAME, "LNCommand", &dbv, DBVT_ASCIIZ)) strncpy_s(settingCommand, _countof(settingCommand), dbv.pszVal, SIZEOF(settingCommand)); db_free(&dbv); @@ -1271,9 +1270,7 @@ INT_PTR CALLBACK DlgProcLotusNotifyOpts(HWND hwndDlg, UINT msg, WPARAM wParam, L GetDlgItemTextA(hwndDlg, IDC_SERVER, settingServer, sizeof(settingServer)); db_set_s(NULL, PLUGINNAME, "LNServer", settingServer ); db_set_s(NULL, PLUGINNAME, "LNServerSec", settingServerSec); - CallService(MS_DB_CRYPT_ENCODESTRING, sizeof(settingPassword), (LPARAM) settingPassword); db_set_s(NULL, PLUGINNAME, "LNPassword", settingPassword); - CallService(MS_DB_CRYPT_DECODESTRING, sizeof(settingPassword), (LPARAM) settingPassword); db_set_s(NULL, PLUGINNAME, "LNDatabase", settingDatabase); db_set_dw (NULL, PLUGINNAME, "LNInterval", settingInterval); db_set_dw (NULL, PLUGINNAME, "LNInterval1", settingInterval1); -- cgit v1.2.3