1
0
Fork 0

minor fix to mms_fixup_address

This commit is contained in:
bagyenda 2007-09-20 16:57:44 +00:00
parent 15f61ba8d5
commit 0cb610d5bd
1 changed files with 4 additions and 0 deletions

View File

@ -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);
if (fto)
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);
} else
_mcid = NULL;