Skip to content

Commit 7896566

Browse files
committed
Correct comments
1 parent 1af6465 commit 7896566

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib/util/rb.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,8 @@ struct fr_rb_tree_s {
172172
* @param[in] _data_free Optional function used to free data if tree nodes are
173173
* deleted or replaced.
174174
* @return
175-
* - A new rbtree on success.
176-
* - NULL on failure.
175+
* - 0 on success.
176+
* - -1 on failure.
177177
*/
178178
#define fr_rb_inline_init(_tree, _type, _field, _data_cmp, _data_free) \
179179
_Generic((((_type *)0)->_field), \

0 commit comments

Comments
 (0)