Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[mms_codec] Ignore non-multipart attachments
  • Loading branch information
monich committed Apr 21, 2014
1 parent 12fc2ed commit 7876edd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mms-lib/src/mms_codec.c
Expand Up @@ -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;
Expand Down

0 comments on commit 7876edd

Please sign in to comment.