Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
5cdaf92c
Commit
5cdaf92c
authored
Mar 29, 2019
by
Piotr Caban
Committed by
Alexandre Julliard
Mar 29, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winemapi: Don't use strcasecmp.
Signed-off-by:
Piotr Caban
<
piotr@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
4104da84
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
sendmail.c
dlls/winemapi/sendmail.c
+3
-2
No files found.
dlls/winemapi/sendmail.c
View file @
5cdaf92c
...
...
@@ -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
(
!
strncase
cmp
(
address
,
smtp
,
sizeof
(
smtp
)
-
1
))
if
(
!
_strni
cmp
(
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
(
!
strncase
cmp
(
address
,
smtp
,
sizeof
(
smtp
)
-
1
))
if
(
!
_strni
cmp
(
address
,
smtp
,
sizeof
(
smtp
)
-
1
))
address
+=
sizeof
(
smtp
)
-
1
;
switch
(
message
->
lpRecips
[
i
].
ulRecipClass
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment