SNOOP_ShowDebugmsgSnoop(): check for NULL function name.

This commit is contained in:
Uwe Bonnes 2003-10-04 03:05:58 +00:00 committed by Alexandre Julliard
parent 53cfed70bb
commit 6d59b887cd
1 changed files with 1 additions and 1 deletions

View File

@ -787,7 +787,7 @@ int SNOOP_ShowDebugmsgSnoop(const char *dll, int ord, const char *fname)
itemlen = strlenW(*listitem);
if((itemlen == len && !strncmpiAW( buf, *listitem, len)) ||
(itemlen == len2 && !strncmpiAW(buf, *listitem, len2)) ||
!strcmpAW(fname, *listitem))
(fname && !strcmpAW(fname, *listitem)))
return !show;
}
return show;