From 8aa1a1a0be4a7b371140272d97881a14aadd3117 Mon Sep 17 00:00:00 2001 From: bagyenda <> Date: Wed, 19 Nov 2008 04:59:37 +0000 Subject: [PATCH] *** empty log message *** --- mbuni/extras/pgsql-queue/mms_pgsql_queue.c | 2 +- mbuni/mmsbox/bearerbox.c | 15 ++++++++++++--- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/mbuni/extras/pgsql-queue/mms_pgsql_queue.c b/mbuni/extras/pgsql-queue/mms_pgsql_queue.c index 5508c13..845b3d8 100644 --- a/mbuni/extras/pgsql-queue/mms_pgsql_queue.c +++ b/mbuni/extras/pgsql-queue/mms_pgsql_queue.c @@ -1106,7 +1106,7 @@ static void pgq_queue_run(char *dir, for (i=0;im->id, "MMSBox", - h->ua, NULL); + if (qf == NULL) { + status = 4000; + mms_error(0, "MM7", h->m->id, + "Failed to write queue entry for received MM7/SOAP DeliverReq message from mmc=%s to MMS Message!", + octstr_get_cstr(h->m->id)); + } else { + + msgid = mms_make_msgid(octstr_get_cstr(qf), NULL); + mms_log("Received", from, to, -1, msgid, NULL, h->m->id, "MMSBox", + h->ua, NULL); + } + octstr_destroy(linkedid); octstr_destroy(value); http_destroy_headers(qh);