]> git.itanic.dy.fi Git - scan-pagemap/commit
bintree_add: Return the correct member during add
authorTimo Kokkonen <kaapeli@itanic.dy.fi>
Sat, 3 Jul 2010 13:46:34 +0000 (16:46 +0300)
committerTimo Kokkonen <kaapeli@itanic.dy.fi>
Sat, 3 Jul 2010 13:49:27 +0000 (16:49 +0300)
commita042867d1c34b7b5ec70b9919a1af5019ee05221
tree9abbfc8a2472b19363fbf53d5db4bcd6f1fa1e19
parent8c0884e017f753bc5d67b0b62b1dd4dd910e920c
bintree_add: Return the correct member during add

When a member is not found from the tree, return the new member
instead of the parent node. Also fix the comment regarding the
function.

Signed-off-by: Timo Kokkonen <kaapeli@itanic.dy.fi>
bintree.c