Commit eb0bd223 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

inetcomm: Removed unneeded type check in init_content_type.

parent 56dc2469
...@@ -746,12 +746,6 @@ static void init_content_type(MimeBody *body, header_t *header) ...@@ -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)
{ {
......
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