summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/ldapd/btree.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/ldapd/btree.c b/usr.sbin/ldapd/btree.c
index 6a5e29d27d7..9befe56b529 100644
--- a/usr.sbin/ldapd/btree.c
+++ b/usr.sbin/ldapd/btree.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: btree.c,v 1.25 2010/07/06 13:05:35 martinh Exp $ */
+/* $OpenBSD: btree.c,v 1.26 2010/07/06 13:28:35 martinh Exp $ */
/*
* Copyright (c) 2009, 2010 Martin Hedenfalk <martin@bzero.se>
@@ -2216,6 +2216,8 @@ btree_move_node(struct btree *bt, struct mpage *src, indx_t srcindx,
src->pgno,
dstindx, dst->pgno);
+ find_common_prefix(bt, src);
+
if (IS_BRANCH(src)) {
/* Need to check if the page the moved node points to
* changes prefix.