1
0
Fork 0

minor fix: bearerbox mm7 parsing

This commit is contained in:
bagyenda 2007-06-25 12:48:14 +00:00
parent f0a3e8a350
commit 83312fbf45
1 changed files with 6 additions and 7 deletions

View File

@ -623,15 +623,14 @@ static Octstr *mm7soap_send(MmscGrp *mmc, Octstr *from, Octstr *to,
ret = NULL;
info(0, "Send to MMSC[%s], failed, code=[%d=>%s], detail=[%s]",
mmc ? octstr_get_cstr(mmc->id) : "",
tstatus, tmp ? tmp : "(null)",
detail ? octstr_get_cstr(detail) : "(empty)");
tstatus, tmp ? tmp : "",
detail ? octstr_get_cstr(detail) : "");
*error = octstr_format("Failed to deliver to MMC[url=%s, id=%s], status=[%d=>%s]!",
octstr_get_cstr(mmc->mmsc_url),
octstr_get_cstr(mmc->id),
*error = octstr_format("Failed to deliver to MMC[url=%s, id=%S], status=[%d=>%S]!",
mmc->mmsc_url,
mmc->id,
tstatus,
tmp ? tmp : "(null)");
tmp);
octstr_destroy(detail);
} else {
ret = mm7_soap_header_value(mresp, octstr_imm("MessageID"));