]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Select the appropriate message
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Sun, 12 Aug 2018 16:05:54 +0000 (17:05 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Sun, 12 Aug 2018 16:05:54 +0000 (17:05 +0100)
src/controller.c

index 9ad1cecf9057f0402ba353ca142fde395b5c69e4..05d3b238e58832472c546ebec84cf378014b5ba7 100644 (file)
@@ -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);