From: Vsevolod Stakhov Date: Mon, 9 Jan 2017 17:32:31 +0000 (+0000) Subject: [Minor] Fix backends display in webui X-Git-Tag: 1.5.0~392 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e0491025bc0ddd4f9e907162b59d3f5fed847d0;p=thirdparty%2Frspamd.git [Minor] Fix backends display in webui --- diff --git a/src/controller.c b/src/controller.c index 8bdefd2490..9733368a2e 100644 --- a/src/controller.c +++ b/src/controller.c @@ -912,7 +912,6 @@ rspamd_controller_handle_maps (struct rspamd_http_connection_entry *conn_ent, map = cur->data; PTR_ARRAY_FOREACH (map->backends, i, bk) { - bk = g_ptr_array_index (map->backends, 0); if (bk->protocol == MAP_PROTO_FILE) { editable = rspamd_controller_can_edit_map (bk);