Commit de5d147d authored by Paul Gofman's avatar Paul Gofman Committed by Alexandre Julliard

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

parent d7332c22
...@@ -3745,7 +3745,7 @@ static BOOL FTP_ParseNextFile(INT nSocket, LPCWSTR lpszSearchFile, LPFILEPROPERT ...@@ -3745,7 +3745,7 @@ static BOOL FTP_ParseNextFile(INT nSocket, LPCWSTR lpszSearchFile, LPFILEPROPERT
pszToken = strtok(NULL, szSpace); pszToken = strtok(NULL, szSpace);
if(!pszToken) continue; if(!pszToken) continue;
if(!_strnicmp(pszToken, "<DIR>", -1)) { if(!stricmp(pszToken, "<DIR>")) {
lpfp->bIsDirectory = TRUE; lpfp->bIsDirectory = TRUE;
lpfp->nSize = 0; lpfp->nSize = 0;
TRACE("Is directory\n"); TRACE("Is directory\n");
......
...@@ -2371,7 +2371,7 @@ static BOOL is_domain_suffix( const char *domain, const char *suffix ) ...@@ -2371,7 +2371,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;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment