1
0
Fork 0

minor fix to mmsbox

This commit is contained in:
bagyenda 2007-12-19 06:48:37 +00:00
parent b36fe80262
commit 15888c94ca
1 changed files with 6 additions and 2 deletions

View File

@ -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;