Fix for botched cherry-pick commit 60fb230
.
This commit is contained in:
parent
1ceea259c3
commit
bf50b3502a
1 changed files with 2 additions and 2 deletions
|
@ -148,9 +148,9 @@ bool add_edge_h(connection_t *c, const char *request) {
|
||||||
e->address = address;
|
e->address = address;
|
||||||
}
|
}
|
||||||
if(e->weight != weight) {
|
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;
|
e->weight = weight;
|
||||||
avl_insert_node(edge_weight_tree, node);
|
splay_insert_node(edge_weight_tree, node);
|
||||||
}
|
}
|
||||||
|
|
||||||
goto done;
|
goto done;
|
||||||
|
|
Loading…
Reference in a new issue