minor fix to mms_fixup_address
This commit is contained in:
parent
15f61ba8d5
commit
0cb610d5bd
|
@ -502,6 +502,10 @@ Octstr *get_mmsbox_queue_dir(Octstr *from, List *to, MmscGrp *m,
|
||||||
_mms_fixup_address(&fto, octstr_get_cstr(unified_prefix), 1);
|
_mms_fixup_address(&fto, octstr_get_cstr(unified_prefix), 1);
|
||||||
if (fto)
|
if (fto)
|
||||||
gwlist_insert(to, 0, fto); /* put it back, after modification. */
|
gwlist_insert(to, 0, fto); /* put it back, after modification. */
|
||||||
|
if (xfrom) {
|
||||||
|
octstr_delete(from, 0, octstr_len(from));
|
||||||
|
octstr_append(from, xfrom);
|
||||||
|
}
|
||||||
octstr_destroy(xfrom);
|
octstr_destroy(xfrom);
|
||||||
} else
|
} else
|
||||||
_mcid = NULL;
|
_mcid = NULL;
|
||||||
|
|
Loading…
Reference in New Issue