inetcomm: Removed unneeded type check in init_content_type.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Jacek Caban 2017-01-31 11:46:47 +01:00 committed by Alexandre Julliard
parent 56dc24695e
commit eb0bd22312

View File

@ -746,12 +746,6 @@ static void init_content_type(MimeBody *body, header_t *header)
char *slash; char *slash;
DWORD len; 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, '/'); slash = strchr(header->value.u.pszVal, '/');
if(!slash) if(!slash)
{ {