* net.cc (get_95_ifconf): Use strcasematch instead of strcasecmp.

* syscalls.cc (_unlink): Ditto.
        (_rename): Ditto.
This commit is contained in:
Corinna Vinschen
2001-03-17 19:53:52 +00:00
parent 75c12e1f7a
commit 8eb72e632c
3 changed files with 9 additions and 3 deletions

View File

@@ -1519,7 +1519,7 @@ get_95_ifconf (struct ifconf *ifc, int what)
if (RegQueryValueEx (subkey, "AdapterName", 0,
NULL, (unsigned char *) adapter,
(size = sizeof adapter, &size)) == ERROR_SUCCESS
&& !strcasecmp (adapter, "MS$PPP"))
&& strcasematch (adapter, "MS$PPP"))
{
++*ppp;
strcpy (ifr->ifr_name, "ppp");