mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
strequal() returns True for equal, not an int
This commit is contained in:
parent
bd00355c1d
commit
b96590ad09
@ -71,7 +71,9 @@ static struct charset_functions *find_charset_functions(const char *name)
|
||||
module_path_get_name(name, stripped);
|
||||
|
||||
while(c) {
|
||||
if (strequal(stripped, c->name) == 0)return c;
|
||||
if (strcasecmp(stripped, c->name) == 0) {
|
||||
return c;
|
||||
}
|
||||
c = c->next;
|
||||
}
|
||||
|
||||
@ -100,7 +102,7 @@ BOOL smb_register_charset(struct charset_functions *funcs)
|
||||
|
||||
void lazy_initialize_iconv(void)
|
||||
{
|
||||
static BOOL initialized = False;
|
||||
static BOOL initialized;
|
||||
int i;
|
||||
|
||||
if (!initialized) {
|
||||
|
Loading…
Reference in New Issue
Block a user