From b5aa2c8e6387d62d4afda4f976baef29de714c1e Mon Sep 17 00:00:00 2001 From: bagyenda <> Date: Fri, 20 Apr 2007 17:01:24 +0000 Subject: [PATCH] *** empty log message *** --- mbuni/mmlib/mms_mm7soap.c | 38 ++++++++++++++++++++++++++++++++------ mbuni/mmlib/mms_util.c | 4 +++- mbuni/mmsbox/bearerbox.c | 2 +- 3 files changed, 36 insertions(+), 8 deletions(-) diff --git a/mbuni/mmlib/mms_mm7soap.c b/mbuni/mmlib/mms_mm7soap.c index d436d52..c27a01d 100644 --- a/mbuni/mmlib/mms_mm7soap.c +++ b/mbuni/mmlib/mms_mm7soap.c @@ -272,17 +272,17 @@ MSoapMsg_t *mm7_parse_soap(List *headers, Octstr *body) MIMEEntity *c = NULL; int i, n; char *loc = octstr_get_cstr(cloc); - + if (octstr_case_search(cloc, octstr_imm("cid:"), 0) == 0) /* skip 'cid:' part. */ loc += 4; /* XXX This should always be there, but some MMC don't put it there. */ - + for (i = 0, n = mime_entity_num_parts(mime); ienvelope = h; smsg->msg = msg; diff --git a/mbuni/mmlib/mms_util.c b/mbuni/mmlib/mms_util.c index 5832593..b00c34c 100644 --- a/mbuni/mmlib/mms_util.c +++ b/mbuni/mmlib/mms_util.c @@ -22,7 +22,9 @@ #include #include #include - +#ifdef HAVE_LIBSSL +#include +#endif #include "mms_util.h" #include "mms_queue.h" #include "mms_uaprof.h" diff --git a/mbuni/mmsbox/bearerbox.c b/mbuni/mmsbox/bearerbox.c index 024b808..d3f6355 100644 --- a/mbuni/mmsbox/bearerbox.c +++ b/mbuni/mmsbox/bearerbox.c @@ -905,7 +905,7 @@ static int sendMsg(MmsEnvelope *e) info(0, "%s MMSBox Outgoing Queue MMS Send: From %s, to %s, msgsize=%ld: err=%s", SEND_ERROR_STR(res), octstr_get_cstr(e->from), octstr_get_cstr(to->rcpt), e->msize, - err ? octstr_get_cstr(err) : "(null)"); + err ? octstr_get_cstr(err) : "(none)"); e->lasttry = tnow;