From 472b5fb4b118fca045b8773d806bea0cf8edf235 Mon Sep 17 00:00:00 2001 From: bagyenda <> Date: Thu, 14 Jul 2005 07:07:24 +0000 Subject: [PATCH] Fix: If phone supports content type */* then it accepts even presentations -- thanks to Mathias Hofmann --- mbuni/mmlib/mms_uaprof.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mbuni/mmlib/mms_uaprof.c b/mbuni/mmlib/mms_uaprof.c index 38960ce..2319014 100644 --- a/mbuni/mmlib/mms_uaprof.c +++ b/mbuni/mmlib/mms_uaprof.c @@ -746,7 +746,7 @@ static int modify_msg(MIMEEntity *msg, MmsUaProfile *prof) if (sflag || (!startp && octstr_case_compare(content_type, octstr_imm("multipart/related")) == 0) || - !prof->ccppaccept.presentation) { + !(prof->ccppaccept.presentation || prof->ccppaccept.all)) { /* MMS conformance guide says: If presentation part is removed or unsupported, * then change content type to multipart/mixed */