minor fix to mmsbox
This commit is contained in:
parent
b36fe80262
commit
15888c94ca
|
@ -278,7 +278,7 @@ MSoapMsg_t *mm7_parse_soap(List *headers, Octstr *body)
|
||||||
goto done;
|
goto done;
|
||||||
octstr_strip_blanks(xml);
|
octstr_strip_blanks(xml);
|
||||||
#if 1
|
#if 1
|
||||||
info(0, "XML sent is: %s!", octstr_get_cstr(xml));
|
debug("mms2soap", 0, "XML sent is: %s!", octstr_get_cstr(xml));
|
||||||
#endif
|
#endif
|
||||||
doc = xmlParseMemory(octstr_get_cstr(xml), octstr_len(xml));
|
doc = xmlParseMemory(octstr_get_cstr(xml), octstr_len(xml));
|
||||||
if (!doc || !doc->xmlChildrenNode)
|
if (!doc || !doc->xmlChildrenNode)
|
||||||
|
@ -744,6 +744,10 @@ int mm7_soapmsg_to_httpmsg(MSoapMsg_t *m, MM7Version_t *ver, List **hdrs, Octstr
|
||||||
*body = mime_entity_body(mime);
|
*body = mime_entity_body(mime);
|
||||||
*hdrs = mime_entity_headers(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);
|
mime_entity_destroy(mime);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in New Issue