Commit 24ceca18 authored by Slava Monich's avatar Slava Monich

[mms_codec] Replaced Content-Disposition:Inline with Attachment

Ancient MMS server software doesn't know about Inline and rejects the PDU.
parent 0762a638
......@@ -2140,7 +2140,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;
......
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