g_strncasecmp --> g_ascii_strncasecmp
authorwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 23 Feb 2008 17:06:57 +0000 (17:06 +0000)
committerwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 23 Feb 2008 17:06:57 +0000 (17:06 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@24443 f5534014-38df-0310-8fa8-9805f1628bb7

rawshark.c

index 212482ea082588e66b44d70b2f53588f7bf79047..2d7615d9bde916aa72bb154ab4acf76f0a0b640f 100644 (file)
@@ -303,7 +303,7 @@ raw_pipe_open(const char *pipe_name)
     pncopy = g_strdup(pipe_name);
     if (strstr(pncopy, "\\\\") == pncopy) {
       pos = strchr(pncopy + 3, '\\');
-      if (pos && g_strncasecmp(pos, PIPE_STR, strlen(PIPE_STR)) != 0)
+      if (pos && g_ascii_strncasecmp(pos, PIPE_STR, strlen(PIPE_STR)) != 0)
         pos = NULL;
     }