changeset 7645:515df78f2849

* lib/gl_anytree_oset.h (gl_tree_search_atleast): Return the element, not its node.
author Eric Blake <ebb9@byu.net>
date Mon, 13 Nov 2006 14:30:13 +0000
parents 3c0ece164bab
children 33bd42644eec
files ChangeLog lib/gl_anytree_oset.h
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-11-13  Eric Blake  <ebb9@byu.net>
+
+	* lib/gl_anytree_oset.h (gl_tree_search_atleast): Return the
+	element, not its node.
+
 2006-11-12  Bruno Haible  <bruno@clisp.org>
 
 	* gnulib-tool (func_emit_lib_Makefile_am): Replace occurrences of
--- 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;
 	}
     }