Skip to content

Commit

Permalink
Merge pull request #23 from monich/content-disposition
Browse files Browse the repository at this point in the history
[mms_codec] Replaced Content-Disposition:Inline with Attachment
  • Loading branch information
Slava Monich committed Apr 14, 2014
2 parents bc52dc9 + 24ceca1 commit 351ee19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mms-lib/src/mms_codec.c
Expand Up @@ -2143,7 +2143,7 @@ static gboolean mms_encode_send_req_part_header(struct mms_attachment *part,

memcpy(ptr, &cd_val, cd_len);
ptr += cd_len;
*ptr++ = (guint8) 0x82; /* Inline = <Octet 130> */
*ptr++ = (guint8) 0x81; /* Attachment = <Octet 129> */
*ptr++ = (guint8) (WSP_PARAMETER_TYPE_FILENAME_DEFUNCT | 0x80);
strcpy(ptr, part->content_location);
ptr[cloc_len] = 0;
Expand Down

0 comments on commit 351ee19

Please sign in to comment.