Browse Source

fix dbghelp version check

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@918 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
3.0
Xuefer 9 years ago
parent
commit
e650948e58
  1. 4
      xcache.c

4
xcache.c

@ -3425,8 +3425,8 @@ static void xcache_init_crash_handler() /* {{{ */
}
dbghelp_MiniDumpWriteDump = (MINIDUMPWRITEDUMP)GetProcAddress(dbghelpModule, "MiniDumpWriteDump");
if (dbghelp_MiniDumpWriteDump) {
zend_error(E_ERROR, "Unable to enable crash dump saver: %s", "DBGHELP.DLL too old");
if (!dbghelp_MiniDumpWriteDump) {
zend_error(E_ERROR, "Unable to enable crash dump saver: %s", "DBGHELP.DLL too old. Get updated dll and put it aside of php_xcache.dll");
return;
}

Loading…
Cancel
Save