mirror of
https://github.com/reactos/wine.git
synced 2024-11-27 21:50:37 +00:00
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:
parent
56dc24695e
commit
eb0bd22312
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user