wininet: Use stricmp() instead of _strnicmp(..., -1).

Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
feature/deterministic
Paul Gofman 2020-03-27 13:35:43 +03:00 committed by Alexandre Julliard
parent d7332c22dd
commit de5d147de8
2 changed files with 2 additions and 2 deletions

View File

@ -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");

View File

@ -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;
}