Jacek Caban : inetcomm: Removed unneeded type check in init_content_type.
Module: wine Branch: master Commit: eb0bd223120a91135523234ce329767691d42f09 URL: http://source.winehq.org/git/wine.git/?a=commit;h=eb0bd223120a91135523234ce3... Author: Jacek Caban <jacek(a)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(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)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) {
participants (1)
-
Alexandre Julliard