From fae80063f841e1656af8f4fa9099f6d307f44c68 Mon Sep 17 00:00:00 2001 From: bagyenda <> Date: Thu, 6 Jan 2011 06:13:12 +0000 Subject: [PATCH] strip fixes -- more fixes --- mbuni/mmsbox/bearerbox.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mbuni/mmsbox/bearerbox.c b/mbuni/mmsbox/bearerbox.c index 282f5b2..7097542 100644 --- a/mbuni/mmsbox/bearerbox.c +++ b/mbuni/mmsbox/bearerbox.c @@ -1605,11 +1605,11 @@ static void process_send_res(MmsEnvelope *e, MmsMsg *msg, if (e->msgtype == MMS_MSGTYPE_SEND_REQ || e->msgtype == MMS_MSGTYPE_RETRIEVE_CONF) /* queue dlr as needed. */ - queue_dlr(mmc, xfrom, rcpt, new_msgid, octstr_imm("Forwarded"), "MM7-Out", errl); + queue_dlr(mmc, e->from, rcpt, new_msgid, octstr_imm("Forwarded"), "MM7-Out", errl); } else if (res == MMS_SEND_ERROR_FATAL && mmc) { if (e->msgtype == MMS_MSGTYPE_SEND_REQ || e->msgtype == MMS_MSGTYPE_RETRIEVE_CONF) /* queue dlr as needed. */ - queue_dlr(mmc, xfrom, rcpt, e->msgId, + queue_dlr(mmc, e->from, rcpt, e->msgId, (e->expiryt != 0 && e->expiryt < tnow) ? octstr_imm("Expired") : octstr_imm("Rejected"), "MM7-Out", errl);