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,6 +1619,8 @@ static void mm7soap_dispatch(MmsHTTPClientInfo *h)
char *msgtype = "";
Octstr *qf = NULL;
if (h->body)
mreq = mm7_parse_soap(h->headers, h->body);
if (mreq)
msgtype = mms_mm7tag_to_cstr(mm7_msgtype(mreq));