mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 02:28:19 +00:00
winhttp: Use stricmp() instead of _strnicmp(..., -1).
Signed-off-by: Paul Gofman <gofmanp@gmail.com> Signed-off-by: Hans Leidekker <hans@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
e0dcc8df14
commit
d7332c22dd
|
@ -1395,7 +1395,7 @@ static BOOL is_domain_suffix( const char *domain, const char *suffix )
|
||||||
int len_domain = strlen( domain ), len_suffix = strlen( suffix );
|
int len_domain = strlen( domain ), len_suffix = strlen( suffix );
|
||||||
|
|
||||||
if (len_suffix > len_domain) return FALSE;
|
if (len_suffix > len_domain) return FALSE;
|
||||||
if (!_strnicmp( domain + len_domain - len_suffix, suffix, -1 )) return TRUE;
|
if (!stricmp( domain + len_domain - len_suffix, suffix )) return TRUE;
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue