From 332a1c985d268f1e41bfac146fc80c9ccbb93c85 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 2 Jul 2012 15:52:34 +0000 Subject: warning fix git-svn-id: http://svn.miranda-ng.org/main/trunk@718 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/CryptoPP/cpp_rsam.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/CryptoPP/cpp_rsam.cpp') diff --git a/plugins/CryptoPP/cpp_rsam.cpp b/plugins/CryptoPP/cpp_rsam.cpp index 5cfdd824ed..3cdb391660 100644 --- a/plugins/CryptoPP/cpp_rsam.cpp +++ b/plugins/CryptoPP/cpp_rsam.cpp @@ -407,7 +407,7 @@ LPSTR __cdecl rsa_recv(HANDLE context, LPCSTR msg) { SAFE_FREE(ptr->tmp); string msg = decode_msg(p,data); if ( msg.length() ) { - ptr->tmp = (LPSTR) strdup(msg.c_str()); + ptr->tmp = (LPSTR) _strdup(msg.c_str()); } else { imp->rsa_notify(context,-5); // ошибка декодирования AES сообщения @@ -420,7 +420,7 @@ LPSTR __cdecl rsa_recv(HANDLE context, LPCSTR msg) { SAFE_FREE(ptr->tmp); string msg = decode_rsa(p,r,data); if ( msg.length() ) { - ptr->tmp = (LPSTR) strdup(msg.c_str()); + ptr->tmp = (LPSTR) _strdup(msg.c_str()); } else { imp->rsa_notify(context,-6); // ошибка декодирования RSA сообщения -- cgit v1.2.3