From a21f21d5d6c63e383db6f614cf1c591bf377cbb6 Mon Sep 17 00:00:00 2001 From: bagyenda <> Date: Mon, 22 Jan 2007 10:40:16 +0000 Subject: [PATCH] *** empty log message *** --- mbuni/mmsbox/mmsbox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mbuni/mmsbox/mmsbox.c b/mbuni/mmsbox/mmsbox.c index f594772..15e0e24 100644 --- a/mbuni/mmsbox/mmsbox.c +++ b/mbuni/mmsbox/mmsbox.c @@ -1276,7 +1276,7 @@ static void sendmms_func(void *unused) rb = octstr_imm("Error in message conversion"); } else if (!rb) rb = octstr_imm("Failed to send message"); - http_send_reply(client, HTTP_BAD_REQUEST, hh, + http_send_reply(client, (res == 0) ? HTTP_OK : HTTP_BAD_REQUEST, hh, rb ? rb : octstr_imm("Sent")); info(0, "MMSBox.mmssend: u=%s, %s", u ? octstr_get_cstr(u->user) : "none",