https://git.reactos.org/?p=reactos.git;a=commitdiff;h=94937754edcace32797904...
commit 94937754edcace32797904924b6e6a430d77b2d8 Author: winesync ros-dev@reactos.org AuthorDate: Tue Dec 8 18:01:21 2020 +0100 Commit: Jérôme Gardou zefklop@users.noreply.github.com CommitDate: Tue Jan 5 11:03:13 2021 +0100
[WINESYNC] wininet: Use stricmp() instead of _strnicmp(..., -1).
Signed-off-by: Paul Gofman gofmanp@gmail.com Signed-off-by: Alexandre Julliard julliard@winehq.org
wine commit id de5d147de8b3d9c2f65bcb6d5646320ef1d92e58 by Paul Gofman gofmanp@gmail.com --- dll/win32/wininet/ftp.c | 2 +- dll/win32/wininet/internet.c | 2 +- sdk/tools/winesync/wininet.cfg | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dll/win32/wininet/ftp.c b/dll/win32/wininet/ftp.c index 40f336b1681..979b21f8b8d 100644 --- a/dll/win32/wininet/ftp.c +++ b/dll/win32/wininet/ftp.c @@ -3749,7 +3749,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"); diff --git a/dll/win32/wininet/internet.c b/dll/win32/wininet/internet.c index 111ce34ba3f..eda3bc7da42 100644 --- a/dll/win32/wininet/internet.c +++ b/dll/win32/wininet/internet.c @@ -2378,7 +2378,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; }
diff --git a/sdk/tools/winesync/wininet.cfg b/sdk/tools/winesync/wininet.cfg index a73ecd94515..354d6ec6950 100644 --- a/sdk/tools/winesync/wininet.cfg +++ b/sdk/tools/winesync/wininet.cfg @@ -5,4 +5,4 @@ files: include/wininet.h: sdk/include/psdk/wininet.h include/winineti.h: sdk/include/psdk/winineti.h tags: - wine: 9fe900532eb310d114c04d15a8d0b986ec831552 + wine: de5d147de8b3d9c2f65bcb6d5646320ef1d92e58