mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-14 15:41:10 +00:00
mshtml: Use stricmp() instead of _strnicmp(..., -1).
Signed-off-by: Paul Gofman <gofmanp@gmail.com> Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
de5d147de8
commit
585d4fb742
|
@ -1180,7 +1180,7 @@ static nsresult NSAPI nsChannel_SetRequestMethod(nsIHttpChannel *iface,
|
||||||
|
|
||||||
nsACString_GetData(aRequestMethod, &method);
|
nsACString_GetData(aRequestMethod, &method);
|
||||||
for(i=0; i < ARRAY_SIZE(request_method_strings); i++) {
|
for(i=0; i < ARRAY_SIZE(request_method_strings); i++) {
|
||||||
if(!_strnicmp(method, request_method_strings[i], -1)) {
|
if(!stricmp(method, request_method_strings[i])) {
|
||||||
This->request_method = i;
|
This->request_method = i;
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue