From 641a23ca97dea2958849593485fc4022a084eb07 Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Thu, 12 Aug 2010 22:02:18 +0300 Subject: modified: messages.cpp --- messages.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'messages.cpp') diff --git a/messages.cpp b/messages.cpp index cb38468..7a16dcd 100644 --- a/messages.cpp +++ b/messages.cpp @@ -52,7 +52,6 @@ int RecvMsgSvc(WPARAM w, LPARAM l) char *tmp = mir_t2a(str.c_str()); TCHAR *tmp2 = UniGetContactSettingUtf(NULL, szModuleName, "szHomePath", _T("")); wstring path = tmp2; - mir_free(tmp2); path.append(_T("\\encrypted_data.asc")); wfstream f(path.c_str(), std::ios::out); f<\"\n") +3; + string::size_type p = out.find(">\"") +2; TCHAR *tmp = mir_a2t (out.substr(p).c_str()); if(_tcslen(tmp) > 0) { -- cgit v1.2.3