Skip to content
Snippets Groups Projects
Commit 5cdaf92c authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard
Browse files

winemapi: Don't use strcasecmp.

parent 4104da84
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment