Commit 5cdaf92c authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

winemapi: Don't use strcasecmp.

parent 4104da84
...@@ -34,6 +34,7 @@ ...@@ -34,6 +34,7 @@
#include "winreg.h" #include "winreg.h"
#include "shellapi.h" #include "shellapi.h"
#include "shlwapi.h" #include "shlwapi.h"
#include "winternl.h"
#include "wine/debug.h" #include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(winemapi); WINE_DEFAULT_DEBUG_CHANNEL(winemapi);
...@@ -121,7 +122,7 @@ ULONG WINAPI MAPISendMail(LHANDLE session, ULONG_PTR uiparam, ...@@ -121,7 +122,7 @@ ULONG WINAPI MAPISendMail(LHANDLE session, ULONG_PTR uiparam,
if (address) if (address)
{ {
if (!strncasecmp(address, smtp, sizeof(smtp) - 1)) if (!_strnicmp(address, smtp, sizeof(smtp) - 1))
address += sizeof(smtp) - 1; address += sizeof(smtp) - 1;
switch (message->lpRecips[i].ulRecipClass) switch (message->lpRecips[i].ulRecipClass)
...@@ -213,7 +214,7 @@ ULONG WINAPI MAPISendMail(LHANDLE session, ULONG_PTR uiparam, ...@@ -213,7 +214,7 @@ ULONG WINAPI MAPISendMail(LHANDLE session, ULONG_PTR uiparam,
if (address) if (address)
{ {
if (!strncasecmp(address, smtp, sizeof(smtp) - 1)) if (!_strnicmp(address, smtp, sizeof(smtp) - 1))
address += sizeof(smtp) - 1; address += sizeof(smtp) - 1;
switch (message->lpRecips[i].ulRecipClass) switch (message->lpRecips[i].ulRecipClass)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment