Commit df019afa authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

inetcomm: Don't use strcasecmp.

parent 87553b00
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
#include "windef.h" #include "windef.h"
#include "winbase.h" #include "winbase.h"
#include "winternl.h"
#include "winuser.h" #include "winuser.h"
#include "objbase.h" #include "objbase.h"
#include "ole2.h" #include "ole2.h"
...@@ -765,13 +766,13 @@ static void init_content_encoding(MimeBody *body, header_t *header) ...@@ -765,13 +766,13 @@ static void init_content_encoding(MimeBody *body, header_t *header)
{ {
const char *encoding = header->value.u.pszVal; const char *encoding = header->value.u.pszVal;
if(!strcasecmp(encoding, "base64")) if(!_strnicmp(encoding, "base64", -1))
body->encoding = IET_BASE64; body->encoding = IET_BASE64;
else if(!strcasecmp(encoding, "quoted-printable")) else if(!_strnicmp(encoding, "quoted-printable", -1))
body->encoding = IET_QP; body->encoding = IET_QP;
else if(!strcasecmp(encoding, "7bit")) else if(!_strnicmp(encoding, "7bit", -1))
body->encoding = IET_7BIT; body->encoding = IET_7BIT;
else if(!strcasecmp(encoding, "8bit")) else if(!_strnicmp(encoding, "8bit", -1))
body->encoding = IET_8BIT; body->encoding = IET_8BIT;
else else
FIXME("unknown encoding %s\n", debugstr_a(encoding)); FIXME("unknown encoding %s\n", debugstr_a(encoding));
......
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