summaryrefslogtreecommitdiff
path: root/plugins/PluginUpdater
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-08-05 18:41:10 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-08-05 18:41:10 +0000
commit68389d70dea618abdd875f2f06ba0d850f3d8fb4 (patch)
tree910001b0b9ad98d2a1f0b6db1e6163c81717e18b /plugins/PluginUpdater
parent16e95b620d38b1ee3f78de555f35bb12c617f85f (diff)
and a debug record too
git-svn-id: http://svn.miranda-ng.org/main/trunk@1367 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/PluginUpdater')
-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 657b8f6c93..e76f42639d 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 );
- pDBG->TimeDateStamp = 0;
+ memset(pDBG, 0, pDBG->SizeOfData);
}
// erase export timestamp