Minor bug fix to mm7soap handler -- no crash if http body is empty.
This commit is contained in:
parent
4991ad3e24
commit
0534bbcd63
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue