From 5cdaf92c4595a10a9577682858a5d7ae07c1ac6c Mon Sep 17 00:00:00 2001 From: Piotr Caban Date: Fri, 29 Mar 2019 16:37:46 +0100 Subject: [PATCH] winemapi: Don't use strcasecmp. Signed-off-by: Piotr Caban Signed-off-by: Alexandre Julliard --- dlls/winemapi/sendmail.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dlls/winemapi/sendmail.c b/dlls/winemapi/sendmail.c index 03a29ba7eba..cfb27e55c95 100644 --- a/dlls/winemapi/sendmail.c +++ b/dlls/winemapi/sendmail.c @@ -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)