From 7206e8b20db10f7b29dcaf979098cfe883332801 Mon Sep 17 00:00:00 2001 From: bagyenda <> Date: Thu, 6 Aug 2009 07:36:39 +0000 Subject: [PATCH] *** empty log message *** --- mbuni/mmsbox/mmsbox_cfg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mbuni/mmsbox/mmsbox_cfg.c b/mbuni/mmsbox/mmsbox_cfg.c index f9a08fb..ac861e2 100644 --- a/mbuni/mmsbox/mmsbox_cfg.c +++ b/mbuni/mmsbox/mmsbox_cfg.c @@ -836,10 +836,10 @@ Octstr *get_mmsbox_queue_dir(Octstr *from, List *to, MmscGrp *m, Octstr **mmc_id) { - if (m->reroute) { + if (m && m->reroute) { *mmc_id = m->reroute_mmsc_id ? octstr_duplicate(m->reroute_mmsc_id) : NULL; return outgoing_qdir; - } else { + } else if (m) { Octstr *_mcid, *qdir = NULL; Octstr *fto;