From: Guus Sliepen Date: Sun, 28 Feb 2016 15:38:49 +0000 (+0100) Subject: Fix for botched cherry-pick commit 60fb230. X-Git-Tag: release-1.1pre12~59 X-Git-Url: https://git.tinc-vpn.org/git/browse?a=commitdiff_plain;h=bf50b3502a022b406424d0d03aaf7670133452b2;p=tinc Fix for botched cherry-pick commit 60fb230. --- diff --git a/src/protocol_edge.c b/src/protocol_edge.c index a4aaa0c9..dc0cf051 100644 --- a/src/protocol_edge.c +++ b/src/protocol_edge.c @@ -148,9 +148,9 @@ bool add_edge_h(connection_t *c, const char *request) { e->address = address; } if(e->weight != weight) { - avl_node_t *node = avl_unlink(edge_weight_tree, e); + splay_node_t *node = splay_unlink(edge_weight_tree, e); e->weight = weight; - avl_insert_node(edge_weight_tree, node); + splay_insert_node(edge_weight_tree, node); } goto done;