Jacek Caban : inetcomm: Removed unneeded type check in init_content_type.

Alexandre Julliard julliard at winehq.org
Tue Jan 31 15:42:51 CST 2017


Module: wine
Branch: master
Commit: eb0bd223120a91135523234ce329767691d42f09
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=eb0bd223120a91135523234ce329767691d42f09

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Tue Jan 31 11:46:47 2017 +0100

inetcomm: Removed unneeded type check in init_content_type.

Signed-off-by: Jacek Caban <jacek at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/inetcomm/mimeole.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/dlls/inetcomm/mimeole.c b/dlls/inetcomm/mimeole.c
index d8253d9..de37f09 100644
--- a/dlls/inetcomm/mimeole.c
+++ b/dlls/inetcomm/mimeole.c
@@ -746,12 +746,6 @@ static void init_content_type(MimeBody *body, header_t *header)
     char *slash;
     DWORD len;
 
-    if(header->prop->id != PID_HDR_CNTTYPE)
-    {
-        ERR("called with header %s\n", header->prop->name);
-        return;
-    }
-
     slash = strchr(header->value.u.pszVal, '/');
     if(!slash)
     {




More information about the wine-cvs mailing list