summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2014-09-30 06:42:09 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2014-09-30 06:42:09 +0000
commit3a5c7a433b3e190e2ba59f8a5416879f197f9a54 (patch)
tree717a9fdf680d21d2a825f6c3f9c369dda26ec9ec /plugins
parent3f737e93021a4e08083a31e98e52ac110249461d (diff)
patch for crashing in presenting BLOB ID reverted
git-svn-id: http://svn.miranda-ng.org/main/trunk@10647 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins')
-rw-r--r--plugins/MenuItemEx/src/main.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/plugins/MenuItemEx/src/main.cpp b/plugins/MenuItemEx/src/main.cpp
index 4382ca23ea..edc4d54edd 100644
--- a/plugins/MenuItemEx/src/main.cpp
+++ b/plugins/MenuItemEx/src/main.cpp
@@ -283,14 +283,7 @@ void GetID(MCONTACT hContact, LPSTR szProto, LPSTR szID)
else if (dbv_uniqueid.type == DBVT_WORD)
wsprintfA(szID, "%u", dbv_uniqueid.wVal); //!!!!!!!!!
else if (dbv_uniqueid.type == DBVT_BLOB)
- {
- for (int i = 0; i < dbv_uniqueid.cpbVal; i++)
- {
- char tmp[3];
- mir_snprintf(tmp, SIZEOF(tmp), "%02X", (BYTE)dbv_uniqueid.pbVal[i]);
- strcat(szID, tmp); //!!!!!!!!!
- }
- }
+ wsprintfA(szID, "%s", dbv_uniqueid.cpbVal); //!!!!!!!!!
else
wsprintfA(szID, "%s", dbv_uniqueid.pszVal); //!!!!!!!!