author | Luke Heberling <collectd@c-ware.com> | |
Thu, 13 Dec 2007 07:15:38 +0000 (08:15 +0100) | ||
committer | Florian Forster <octo@huhu.verplant.org> | |
Thu, 13 Dec 2007 07:15:38 +0000 (08:15 +0100) | ||
commit | 8798c7ec333eb16410161d99487ab0bee4d9adc3 | |
tree | 44e47687523bf5df1b4cf05628aab735ac4d9211 | tree | snapshot |
parent | f46cf590f7e0a25fe5f826b762766f39e1f3a1f6 | commit | diff |
src/utils_avltree.[ch]: Change avl_insert to return >0 if the key is already in the tree.
I'd like to be able to tell when avl_insert fails because of a duplicate key as
opposed to when it fails due to out of memory or other condition.
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
I'd like to be able to tell when avl_insert fails because of a duplicate key as
opposed to when it fails due to out of memory or other condition.
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
src/utils_avltree.c | diff | blob | history | |
src/utils_avltree.h | diff | blob | history |