Removed odd debug code, err, in CrazyDebug of all places
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402131
This commit is contained in:
parent
1adb549a8d
commit
1e70b04f48
@ -42,7 +42,7 @@ bool HookImportAddrTable(BYTE *base, const char *func, DWORD hookfunc, char *err
|
|||||||
if (dos->e_magic != IMAGE_DOS_SIGNATURE)
|
if (dos->e_magic != IMAGE_DOS_SIGNATURE)
|
||||||
{
|
{
|
||||||
UTIL_Format(err, maxlength, "%s", "Could not detect valid DOS signature");
|
UTIL_Format(err, maxlength, "%s", "Could not detect valid DOS signature");
|
||||||
return (err == NULL) ? true : false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
IMAGE_NT_HEADERS *nt = (IMAGE_NT_HEADERS *)(base + dos->e_lfanew);
|
IMAGE_NT_HEADERS *nt = (IMAGE_NT_HEADERS *)(base + dos->e_lfanew);
|
||||||
|
Loading…
Reference in New Issue
Block a user