diff options
author | George Hazan <george.hazan@gmail.com> | 2013-08-15 08:01:11 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-08-15 08:01:11 +0000 |
commit | c68165979e5741aa201a9ac951e37fee4ca362cc (patch) | |
tree | 61313e23466d16a31904b442ca2ee20f738926c9 /plugins/PluginUpdater/src | |
parent | 6082f8c569cd3df0ebdcec61a223027868207473 (diff) |
we use bin2hex now instead of mir_snprintf("%02x")
git-svn-id: http://svn.miranda-ng.org/main/trunk@5699 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/PluginUpdater/src')
-rw-r--r-- | plugins/PluginUpdater/src/checksum.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/plugins/PluginUpdater/src/checksum.cpp b/plugins/PluginUpdater/src/checksum.cpp index 9d0a38bcaa..cda58f10eb 100644 --- a/plugins/PluginUpdater/src/checksum.cpp +++ b/plugins/PluginUpdater/src/checksum.cpp @@ -269,9 +269,6 @@ LBL_NotPE: BYTE digest[16];
mir_md5_finish(&pms, digest);
-
- for (int i=0; i < sizeof(digest); i++)
- sprintf(szDest + i*2, "%02x", digest[i]); //!!!!!!!!!!!
-
+ bin2hex(digest, sizeof(digest), szDest);
return RESULT_OK;
}
|