# HG changeset patch # User Eric Blake # Date 1163428213 0 # Node ID 515df78f284952d0ab3fb2d7d98768f31a63194d # Parent 3c0ece164bab903daf52b9d68ddf377c47b133c6 * lib/gl_anytree_oset.h (gl_tree_search_atleast): Return the element, not its node. diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-11-13 Eric Blake + + * lib/gl_anytree_oset.h (gl_tree_search_atleast): Return the + element, not its node. + 2006-11-12 Bruno Haible * gnulib-tool (func_emit_lib_Makefile_am): Replace occurrences of diff --git a/lib/gl_anytree_oset.h b/lib/gl_anytree_oset.h --- a/lib/gl_anytree_oset.h +++ b/lib/gl_anytree_oset.h @@ -100,7 +100,7 @@ node = node->left; } } - *eltp = found; + *eltp = found->value; return true; } }