1
0
Fork 0

*** empty log message ***

This commit is contained in:
bagyenda 2009-08-06 07:24:31 +00:00
parent 18cd80e632
commit 00bdd513fe
1 changed files with 8 additions and 6 deletions

View File

@ -1454,12 +1454,14 @@ static int sendMsg(MmsEnvelope *e)
if (errl)
err = http_header_value(errl, octstr_imm("X-Mbuni-Error"));
}
if (res == MMS_SEND_OK)
mmc->mt_pdus++;
else
mmc->mt_errors++;
mmc->last_pdu = time(NULL);
return_mmsc_conn(mmc); /* important. */
if (mmc) {
if (res == MMS_SEND_OK)
mmc->mt_pdus++;
else
mmc->mt_errors++;
mmc->last_pdu = time(NULL);
return_mmsc_conn(mmc); /* important. */
}
done:
if (res == MMS_SEND_OK || res == MMS_SEND_QUEUED) {
to->process = 0;