[PATCH] winhttp: Use stricmp() instead of _strnicmp(..., -1).
Paul Gofman
gofmanp at gmail.com
Fri Mar 27 05:33:54 CDT 2020
Signed-off-by: Paul Gofman <gofmanp at gmail.com>
---
dlls/winhttp/session.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/winhttp/session.c b/dlls/winhttp/session.c
index e647d71faf..dabbe9b195 100644
--- a/dlls/winhttp/session.c
+++ b/dlls/winhttp/session.c
@@ -1395,7 +1395,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;
}
--
2.25.1
More information about the wine-devel
mailing list