1
0
Fork 0

*** empty log message ***

This commit is contained in:
bagyenda 2007-01-22 10:40:16 +00:00
parent de6ded80a9
commit a21f21d5d6
1 changed files with 1 additions and 1 deletions

View File

@ -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",