winemapi: Don't use strcasecmp.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Piotr Caban 2019-03-29 16:37:46 +01:00 committed by Alexandre Julliard
parent 4104da841d
commit 5cdaf92c45
1 changed files with 3 additions and 2 deletions

View File

@ -34,6 +34,7 @@
#include "winreg.h"
#include "shellapi.h"
#include "shlwapi.h"
#include "winternl.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(winemapi);
@ -121,7 +122,7 @@ ULONG WINAPI MAPISendMail(LHANDLE session, ULONG_PTR uiparam,
if (address)
{
if (!strncasecmp(address, smtp, sizeof(smtp) - 1))
if (!_strnicmp(address, smtp, sizeof(smtp) - 1))
address += sizeof(smtp) - 1;
switch (message->lpRecips[i].ulRecipClass)
@ -213,7 +214,7 @@ ULONG WINAPI MAPISendMail(LHANDLE session, ULONG_PTR uiparam,
if (address)
{
if (!strncasecmp(address, smtp, sizeof(smtp) - 1))
if (!_strnicmp(address, smtp, sizeof(smtp) - 1))
address += sizeof(smtp) - 1;
switch (message->lpRecips[i].ulRecipClass)