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:
parent
4104da841d
commit
5cdaf92c45
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue