aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-01-16 22:45:15 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-01-16 22:45:15 +0000
commitf7a94f785f581a43c3d48a605c5fe65a4d70d87f (patch)
tree9fd36b61b3997f41d4fcb990c25e1be29a4090f9 /src/libserver
parent9f76a30c016b55103f443bc6858f6b557cc5eb36 (diff)
downloadrspamd-f7a94f785f581a43c3d48a605c5fe65a4d70d87f.tar.gz
rspamd-f7a94f785f581a43c3d48a605c5fe65a4d70d87f.zip
Set status for HTTP replies
Diffstat (limited to 'src/libserver')
-rw-r--r--src/libserver/protocol.c2
1 files changed, 2 insertions, 0 deletions
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: