]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
[Minor] Fix backends display in webui
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 9 Jan 2017 17:32:31 +0000 (17:32 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 9 Jan 2017 17:32:31 +0000 (17:32 +0000)
src/controller.c

index 8bdefd24903a5cf8922a88ebf00536472e987fe1..9733368a2ed13240a9d5159a7270c8daf52e580f 100644 (file)
@@ -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);