summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-08-06 07:19:21 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-08-06 07:19:21 +0000
commitda90f70ee92d2fcf13451ae40516c985f728a560 (patch)
tree9867989e23bb39b9b8127e7f074b74a228d824c3
parentf43f79651a3290f1a3cc44e4ddc335f3bf3fd4f5 (diff)
git-svn-id: http://svn.miranda-ng.org/main/trunk@1376 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--plugins/PluginUpdater/src/checksum.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/PluginUpdater/src/checksum.cpp b/plugins/PluginUpdater/src/checksum.cpp
index e76f42639d..657b8f6c93 100644
--- a/plugins/PluginUpdater/src/checksum.cpp
+++ b/plugins/PluginUpdater/src/checksum.cpp
@@ -169,7 +169,7 @@ int CalculateModuleHash(const TCHAR *filename, char* szDest)
{
DWORD shift = dbgAddr - pISH->VirtualAddress;
pDBG = (PIMAGE_DEBUG_DIRECTORY)( ptr + shift + pISH->PointerToRawData );
- memset(pDBG, 0, pDBG->SizeOfData);
+ pDBG->TimeDateStamp = 0;
}
// erase export timestamp