src/utils_avltree.c: Fix avl_get to work as documented.
authorLuke Heberling <collectd@c-ware.com>
Thu, 13 Dec 2007 07:09:16 +0000 (08:09 +0100)
committerFlorian Forster <octo@huhu.verplant.org>
Thu, 13 Dec 2007 07:09:16 +0000 (08:09 +0100)
commit3b915093d8cbc7738b2de59f6ebc38f195131002
tree6fe03dd7ed4ebe39a9a991bc835a4250b893f999
parent65cbd6ca1da0d802ac39b460dcb8ae0af3762c13
src/utils_avltree.c: Fix avl_get to work as documented.

The documentation in the header file for avl_get states that value may be null,
but the code in the source file asserts otherwise. This patch changes the code
to reflect the documentation.

Signed-off-by: Florian Forster <octo@huhu.verplant.org>
src/utils_avltree.c