1
0
Fork 0

Minor bug fix to mm7soap handler -- no crash if http body is empty.

This commit is contained in:
bagyenda 2005-04-29 05:28:41 +00:00
parent 4991ad3e24
commit 0534bbcd63
1 changed files with 3 additions and 1 deletions

View File

@ -1619,7 +1619,9 @@ static void mm7soap_dispatch(MmsHTTPClientInfo *h)
char *msgtype = "";
Octstr *qf = NULL;
mreq = mm7_parse_soap(h->headers, h->body);
if (h->body)
mreq = mm7_parse_soap(h->headers, h->body);
if (mreq)
msgtype = mms_mm7tag_to_cstr(mm7_msgtype(mreq));
debug("mmsprox.mm7sendinterface", 0,