make host access controls case insensitive
This commit is contained in:
12
util.c
12
util.c
@@ -531,3 +531,15 @@ void glob_expand(char **argv, int *argc, int maxargs)
|
||||
(*argc) += i;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
/*******************************************************************
|
||||
convert a string to lower case
|
||||
********************************************************************/
|
||||
void strlower(char *s)
|
||||
{
|
||||
while (*s) {
|
||||
if (isupper(*s)) *s = tolower(*s);
|
||||
s++;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user