Commit 7876edd2 authored by Slava Monich's avatar Slava Monich

[mms_codec] Ignore non-multipart attachments

parent 12fc2ed9
......@@ -1347,8 +1347,9 @@ static gboolean decode_retrieve_conf(struct wsp_header_iter *iter,
if (wsp_header_iter_at_end(iter) == TRUE)
return TRUE;
/* Ignore non-multipart attachments */
if (wsp_header_iter_is_multipart(iter) == FALSE)
return FALSE;
return wsp_header_iter_is_content_type(iter);
if (mms_parse_attachments(iter, out) == FALSE)
return FALSE;
......
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