From: Eric Blake Date: Mon, 13 Nov 2006 14:30:13 +0000 (+0000) Subject: * lib/gl_anytree_oset.h (gl_tree_search_atleast): Return the X-Git-Tag: cvs-readonly~1573 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=d9518c442b65b9b7dbe37fa9541bb633706a659d;p=gnulib.git * lib/gl_anytree_oset.h (gl_tree_search_atleast): Return the element, not its node. --- diff --git a/ChangeLog b/ChangeLog index 5609cfc92..a972c63d6 100644 --- 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 index 9945cfc71..b6b50b4bc 100644 --- a/lib/gl_anytree_oset.h +++ b/lib/gl_anytree_oset.h @@ -100,7 +100,7 @@ gl_tree_search_atleast (gl_oset_t set, node = node->left; } } - *eltp = found; + *eltp = found->value; return true; } }