From 15888c94ca522e1e6ff895337f2e9dcf2044f016 Mon Sep 17 00:00:00 2001 From: bagyenda <> Date: Wed, 19 Dec 2007 06:48:37 +0000 Subject: [PATCH] minor fix to mmsbox --- mbuni/mmlib/mms_mm7soap.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/mbuni/mmlib/mms_mm7soap.c b/mbuni/mmlib/mms_mm7soap.c index 3836cba..d7e55d9 100644 --- a/mbuni/mmlib/mms_mm7soap.c +++ b/mbuni/mmlib/mms_mm7soap.c @@ -278,7 +278,7 @@ MSoapMsg_t *mm7_parse_soap(List *headers, Octstr *body) goto done; octstr_strip_blanks(xml); #if 1 - info(0, "XML sent is: %s!", octstr_get_cstr(xml)); + debug("mms2soap", 0, "XML sent is: %s!", octstr_get_cstr(xml)); #endif doc = xmlParseMemory(octstr_get_cstr(xml), octstr_len(xml)); if (!doc || !doc->xmlChildrenNode) @@ -743,7 +743,11 @@ int mm7_soapmsg_to_httpmsg(MSoapMsg_t *m, MM7Version_t *ver, List **hdrs, Octstr *body = mime_entity_body(mime); *hdrs = mime_entity_headers(mime); - + + debug("mms2soap", 0, "SOAP headers dump follows: "); + http_header_dump(*hdrs); + debug("mms2soap", 0, "SOAP MSG is: %s", octstr_get_cstr(*body)); + mime_entity_destroy(mime); return 0;