Make snoop specific case insensitive.
This commit is contained in:
parent
b58ebef63e
commit
bae8af2e2e
|
@ -113,9 +113,9 @@ int SNOOP_ShowDebugmsgSnoop(const char *dll, int ord, const char *fname) {
|
||||||
len2 = strlen(buf);
|
len2 = strlen(buf);
|
||||||
for(; *listitem; listitem++) {
|
for(; *listitem; listitem++) {
|
||||||
itemlen = strlen(*listitem);
|
itemlen = strlen(*listitem);
|
||||||
if((itemlen == len && !strncmp(*listitem, buf, len)) ||
|
if((itemlen == len && !strncasecmp(*listitem, buf, len)) ||
|
||||||
(itemlen == len2 && !strncmp(*listitem, buf, len2)) ||
|
(itemlen == len2 && !strncasecmp(*listitem, buf, len2)) ||
|
||||||
!strcmp(*listitem, fname)) {
|
!strcasecmp(*listitem, fname)) {
|
||||||
show = !show;
|
show = !show;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue