changeset 27336:f48508429c6d

* 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 edbb3cba56e9
children 7918386e79d0
files ChangeLog lib/gl_anytree_oset.h
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Mon Nov 13 12:35:41 2006 +0000
+++ b/ChangeLog	Mon Nov 13 14:30:13 2006 +0000
@@ -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	Mon Nov 13 12:35:41 2006 +0000
+++ b/lib/gl_anytree_oset.h	Mon Nov 13 14:30:13 2006 +0000
@@ -100,7 +100,7 @@
 		  node = node->left;
 		}
 	    }
-	  *eltp = found;
+	  *eltp = found->value;
 	  return true;
 	}
     }