1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-25 00:23:52 +03:00

r9792: Rename StrCaseCmp -> strcasecmp_m. All these years I was thinking

StrCaseCmp was sys_strcasecmp, while it is in fact strcasecmp_m!
This commit is contained in:
Jelmer Vernooij
2005-08-30 11:55:05 +00:00
committed by Gerald (Jerry) Carter
parent 1d8dae5167
commit 200a8f6652
24 changed files with 40 additions and 40 deletions

View File

@@ -80,7 +80,7 @@ BOOL next_token(const char **ptr,char *buff, const char *sep, size_t bufsize)
/**
Case insensitive string compararison
**/
int StrCaseCmp(const char *s1, const char *s2)
int strcasecmp_m(const char *s1, const char *s2)
{
codepoint_t c1=0, c2=0;
size_t size1, size2;
@@ -122,7 +122,7 @@ BOOL strequal(const char *s1, const char *s2)
if (!s1 || !s2)
return(False);
return StrCaseCmp(s1,s2) == 0;
return strcasecmp_m(s1,s2) == 0;
}
/**
@@ -477,7 +477,7 @@ BOOL in_list(const char *s, const char *list, BOOL casesensitive)
if (strcmp(tok,s) == 0)
return(True);
} else {
if (StrCaseCmp(tok,s) == 0)
if (strcasecmp_m(tok,s) == 0)
return(True);
}
}