search for: d5ab742

Displaying 1 result from an estimated 1 matches for "d5ab742".

Did you mean: d4a9742
2018 Feb 27
2
tinc 1.1: missing PONG
...ree.c +++ b/src/splay_tree.c @@ -581,6 +581,7 @@ void splay_unlink_node(splay_tree_t *tree, splay_node_t *node) { } tree->count--; + tree->generation++; } void splay_delete_node(splay_tree_t *tree, splay_node_t *node) { diff --git a/src/splay_tree.h b/src/splay_tree.h index 06367bf..d5ab742 100644 --- a/src/splay_tree.h +++ b/src/splay_tree.h @@ -57,7 +57,8 @@ typedef struct splay_tree_t { splay_compare_t compare; splay_action_t delete; - int count; + unsigned int count; + unsigned int generation; } splay_tree_t;