|
|
|
@ -1790,7 +1790,11 @@ static int sendMsg(MmsEnvelope *e)
|
|
|
|
|
octstr_format_append(x, "@%S",
|
|
|
|
|
mmc && octstr_str_compare(mmc->mmsc_url, "*") != 0 ? mmc->mmsc_url :
|
|
|
|
|
octstr_imm("unknown"));
|
|
|
|
|
gwlist_append(xto, x);
|
|
|
|
|
|
|
|
|
|
if (mmc && mmc->strip_prefixes) /* strip prefixes */
|
|
|
|
|
_mms_fixup_address(&x, NULL, mmc->strip_prefixes, 1);
|
|
|
|
|
if (x)
|
|
|
|
|
gwlist_append(xto, x);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
LINEARISE_STR_LIST(zto,xto,", ");
|
|
|
|
@ -1857,13 +1861,13 @@ static int sendMsg(MmsEnvelope *e)
|
|
|
|
|
octstr_destroy(new_msgid);
|
|
|
|
|
octstr_destroy(err);
|
|
|
|
|
http_destroy_headers(errl);
|
|
|
|
|
gwlist_destroy(lto, NULL);
|
|
|
|
|
|
|
|
|
|
e->lasttry = tnow;
|
|
|
|
|
if (qfs->mms_queue_update(e) == 1) {
|
|
|
|
|
e = NULL;
|
|
|
|
|
break; /* Queue entry gone. */
|
|
|
|
|
}
|
|
|
|
|
gwlist_destroy(lto, NULL);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|