diff options
author | Alexander Gluzsky <sss123next@list.ru> | 2012-08-17 23:55:14 +0000 |
---|---|---|
committer | Alexander Gluzsky <sss123next@list.ru> | 2012-08-17 23:55:14 +0000 |
commit | d8a969bd605c890cffabb71d3e7dfac8855a6045 (patch) | |
tree | 0372a0e5e5a36c356640f427d3e8fae462b0f448 /plugins/New_GPG/src/utilities.cpp | |
parent | 39b4c53fad33b800d53ebfe16634272ddd69b6c3 (diff) |
fixed possible memmory corruptions
git-svn-id: http://svn.miranda-ng.org/main/trunk@1492 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/New_GPG/src/utilities.cpp')
-rwxr-xr-x | plugins/New_GPG/src/utilities.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/New_GPG/src/utilities.cpp b/plugins/New_GPG/src/utilities.cpp index 1e9d8997b8..c07be132d2 100755 --- a/plugins/New_GPG/src/utilities.cpp +++ b/plugins/New_GPG/src/utilities.cpp @@ -1150,7 +1150,7 @@ int SendBroadcast( HANDLE hContact, int type, int result, HANDLE hProcess, LPARA ACKDATA ack; memset(&ack,0,sizeof(ack)); ack.cbSize = sizeof( ACKDATA ); - ack.szModule = (char*)CallService(MS_PROTO_GETCONTACTBASEPROTO, (WPARAM)hContact, 0); + ack.szModule = szGPGModuleName;// (char*)CallService(MS_PROTO_GETCONTACTBASEPROTO, (WPARAM)hContact, 0); ack.hContact = hContact; ack.type = type; ack.result = result; @@ -1189,6 +1189,7 @@ int returnNoError(HANDLE hContact) { // end from secureim + string toUTF8(wstring str) { string ustr; |