From 29dc7fef90e299bb9abebbdbd6a96430ecfdad25 Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Sun, 6 Jan 2013 14:57:54 +0200 Subject: merged with miranda_ng main repo --- src/utilities.cpp | 48 ++++++++++++++++++++++++------------------------ 1 file changed, 24 insertions(+), 24 deletions(-) (limited to 'src/utilities.cpp') diff --git a/src/utilities.cpp b/src/utilities.cpp index ab9b776..2cca6ff 100755 --- a/src/utilities.cpp +++ b/src/utilities.cpp @@ -406,13 +406,13 @@ int onProtoAck(WPARAM w, LPARAM l) dbsetting += "_Password"; pass = UniGetContactSettingUtf(NULL, szGPGModuleName, dbsetting.c_str(), _T("")); if(_tcslen(pass) > 0) - debuglog<hContact, GCDNF_TCHAR)<<" with password\n"; + debuglog<hContact, GCDNF_TCHAR))+" with password"); } else { pass = UniGetContactSettingUtf(NULL, szGPGModuleName, "szKeyPassword", _T("")); if(_tcslen(pass) > 0) - debuglog<hContact, GCDNF_TCHAR)<<" with password\n"; + debuglog<hContact, GCDNF_TCHAR))+" with password"); } if(_tcslen(pass) > 0) { @@ -422,13 +422,13 @@ int onProtoAck(WPARAM w, LPARAM l) } else if(password) { - debuglog<hContact, GCDNF_TCHAR)<<" with password\n"; + debuglog<hContact, GCDNF_TCHAR))+" with password"); cmd += _T("--passphrase \""); cmd += password; cmd += _T("\" "); } else - debuglog<hContact, GCDNF_TCHAR)<<" with out password\n"; + debuglog<hContact, GCDNF_TCHAR))+" with out password"); mir_free(pass); mir_free(keyid); } @@ -447,7 +447,7 @@ int onProtoAck(WPARAM w, LPARAM l) delete gpg_thread; TerminateProcess(params.hProcess, 1); params.hProcess = NULL; - debuglog<hContact, GCDNF_TCHAR)<<" password needed, trying to get one\n"; + debuglog<hContact, GCDNF_TCHAR))+" password needed, trying to get one"); if(_terminate) break; { //save inkey id @@ -475,7 +475,7 @@ int onProtoAck(WPARAM w, LPARAM l) wstring cmd2 = cmd; if(password) { - debuglog<hContact, GCDNF_TCHAR)<<"\n"; + debuglog<hContact, GCDNF_TCHAR))); wstring tmp = _T("--passphrase \""); tmp += password; tmp += _T("\" "); @@ -495,7 +495,7 @@ int onProtoAck(WPARAM w, LPARAM l) delete gpg_thread; TerminateProcess(params.hProcess, 1); params.hProcess = NULL; - debuglog<