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
df019afa
Commit
df019afa
authored
Apr 08, 2019
by
Piotr Caban
Committed by
Alexandre Julliard
Apr 08, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
inetcomm: Don't use strcasecmp.
Signed-off-by:
Piotr Caban
<
piotr@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
87553b00
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
mimeole.c
dlls/inetcomm/mimeole.c
+5
-4
No files found.
dlls/inetcomm/mimeole.c
View file @
df019afa
...
...
@@ -27,6 +27,7 @@
#include "windef.h"
#include "winbase.h"
#include "winternl.h"
#include "winuser.h"
#include "objbase.h"
#include "ole2.h"
...
...
@@ -765,13 +766,13 @@ static void init_content_encoding(MimeBody *body, header_t *header)
{
const
char
*
encoding
=
header
->
value
.
u
.
pszVal
;
if
(
!
strcasecmp
(
encoding
,
"base64"
))
if
(
!
_strnicmp
(
encoding
,
"base64"
,
-
1
))
body
->
encoding
=
IET_BASE64
;
else
if
(
!
strcasecmp
(
encoding
,
"quoted-printable"
))
else
if
(
!
_strnicmp
(
encoding
,
"quoted-printable"
,
-
1
))
body
->
encoding
=
IET_QP
;
else
if
(
!
strcasecmp
(
encoding
,
"7bit"
))
else
if
(
!
_strnicmp
(
encoding
,
"7bit"
,
-
1
))
body
->
encoding
=
IET_7BIT
;
else
if
(
!
strcasecmp
(
encoding
,
"8bit"
))
else
if
(
!
_strnicmp
(
encoding
,
"8bit"
,
-
1
))
body
->
encoding
=
IET_8BIT
;
else
FIXME
(
"unknown encoding %s
\n
"
,
debugstr_a
(
encoding
));
...
...
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