summaryrefslogtreecommitdiff
path: root/plugins/CryptoPP/cpp_svcs.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-07-02 15:52:34 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-07-02 15:52:34 +0000
commit332a1c985d268f1e41bfac146fc80c9ccbb93c85 (patch)
tree7e609786b8308dd7bfbc0a3f0fdbfbaa395d8984 /plugins/CryptoPP/cpp_svcs.cpp
parenteca1b167120907f6d927de29f449c93bdf381a83 (diff)
warning fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@718 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/CryptoPP/cpp_svcs.cpp')
-rw-r--r--plugins/CryptoPP/cpp_svcs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/CryptoPP/cpp_svcs.cpp b/plugins/CryptoPP/cpp_svcs.cpp
index 7e97735540..2b99003a2a 100644
--- a/plugins/CryptoPP/cpp_svcs.cpp
+++ b/plugins/CryptoPP/cpp_svcs.cpp
@@ -128,7 +128,7 @@ LPSTR __cdecl cpp_decrypt(pCNTX ptr, LPCSTR szEncMsg)
ptr->tmp = (LPSTR) cpp_gunzip((PBYTE)unciphered.data(),unciphered.length(),clen);
ptr->tmp[clen] = 0;
}
- else ptr->tmp = (LPSTR) strdup(unciphered.c_str());
+ else ptr->tmp = (LPSTR) _strdup(unciphered.c_str());
ptr->error = ERROR_NONE;
return ptr->tmp;