wininet: Use stricmp() instead of _strnicmp(..., -1).
Signed-off-by: Paul Gofman <gofmanp@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
d7332c22dd
commit
de5d147de8
|
@ -3745,7 +3745,7 @@ static BOOL FTP_ParseNextFile(INT nSocket, LPCWSTR lpszSearchFile, LPFILEPROPERT
|
|||
|
||||
pszToken = strtok(NULL, szSpace);
|
||||
if(!pszToken) continue;
|
||||
if(!_strnicmp(pszToken, "<DIR>", -1)) {
|
||||
if(!stricmp(pszToken, "<DIR>")) {
|
||||
lpfp->bIsDirectory = TRUE;
|
||||
lpfp->nSize = 0;
|
||||
TRACE("Is directory\n");
|
||||
|
|
|
@ -2371,7 +2371,7 @@ static BOOL is_domain_suffix( const char *domain, const char *suffix )
|
|||
int len_domain = strlen( domain ), len_suffix = strlen( suffix );
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue