SNOOP_PrintArg: don't try to decipher snoop args when seh chanel is

on.
This commit is contained in:
Uwe Bonnes 2003-03-10 19:05:27 +00:00 committed by Alexandre Julliard
parent 4431e416ed
commit e658ee5503
1 changed files with 2 additions and 1 deletions

View File

@ -34,6 +34,7 @@
#include "excpt.h"
WINE_DEFAULT_DEBUG_CHANNEL(snoop);
WINE_DECLARE_DEBUG_CHANNEL(seh);
static WINE_EXCEPTION_FILTER(page_fault)
{
@ -216,7 +217,7 @@ static void SNOOP_PrintArg(DWORD x)
int i,nostring;
DPRINTF("%08lx",x);
if ( !HIWORD(x) ) return; /* trivial reject to avoid faults */
if (!HIWORD(x) || TRACE_ON(seh)) return; /* trivial reject to avoid faults */
__TRY
{
LPBYTE s=(LPBYTE)x;