collectd/collectd — pull request #159 by tommie (2012-10-15 15:47:17+00:00)
Title: Increase size of AVL tree even on first insertion.

t->size should be increased in all sensible return paths of c_avl_insert(). If I interpreted the code correctly, the root node is just another node and should count towards the tree size.

The size of the tree doesn't seem to be used anywhere except threshold.c, so this probably doesn't matter that much in practice.