From: Vsevolod Stakhov Date: Sun, 12 Aug 2018 16:05:54 +0000 (+0100) Subject: [Minor] Select the appropriate message X-Git-Tag: 1.8.0~272 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=1fe70dc4ee748567747d9c7a4312b6756675975f;p=rspamd.git [Minor] Select the appropriate message --- diff --git a/src/controller.c b/src/controller.c index 9ad1cecf9..05d3b238e 100644 --- a/src/controller.c +++ b/src/controller.c @@ -1059,7 +1059,7 @@ rspamd_controller_handle_get_map (struct rspamd_http_connection_entry *conn_ent, } rspamd_http_connection_reset (conn_ent->conn); - rspamd_http_router_insert_headers (conn_ent->rt, msg); + rspamd_http_router_insert_headers (conn_ent->rt, reply); rspamd_http_connection_write_message (conn_ent->conn, reply, NULL, "text/plain", conn_ent, conn_ent->conn->fd, conn_ent->rt->ptv, conn_ent->rt->ev_base);