From bae8af2e2e7feb597efcadbad183c3e52341cc42 Mon Sep 17 00:00:00 2001 From: Lawson Whitney Date: Mon, 12 Feb 2001 01:19:04 +0000 Subject: [PATCH] Make snoop specific case insensitive. --- relay32/snoop.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/relay32/snoop.c b/relay32/snoop.c index 8159c77853b..49db758d172 100644 --- a/relay32/snoop.c +++ b/relay32/snoop.c @@ -113,9 +113,9 @@ int SNOOP_ShowDebugmsgSnoop(const char *dll, int ord, const char *fname) { len2 = strlen(buf); for(; *listitem; listitem++) { itemlen = strlen(*listitem); - if((itemlen == len && !strncmp(*listitem, buf, len)) || - (itemlen == len2 && !strncmp(*listitem, buf, len2)) || - !strcmp(*listitem, fname)) { + if((itemlen == len && !strncasecmp(*listitem, buf, len)) || + (itemlen == len2 && !strncasecmp(*listitem, buf, len2)) || + !strcasecmp(*listitem, fname)) { show = !show; break; }