From f7a94f785f581a43c3d48a605c5fe65a4d70d87f Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Sat, 16 Jan 2016 22:45:15 +0000 Subject: [PATCH] Set status for HTTP replies --- src/libserver/protocol.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libserver/protocol.c b/src/libserver/protocol.c index e3f39899c..33c84c7ab 100644 --- a/src/libserver/protocol.c +++ b/src/libserver/protocol.c @@ -1118,6 +1118,8 @@ rspamd_protocol_write_reply (struct rspamd_task *task) ucl_object_unref (top); } else { + msg->status = rspamd_fstring_new_init ("OK", 2); + switch (task->cmd) { case CMD_REPORT_IFSPAM: case CMD_REPORT: -- 2.39.5