]> git.sur5r.net Git - openldap/commitdiff
Fix typo in prev commit
authorHoward Chu <hyc@openldap.org>
Thu, 22 Nov 2007 08:52:39 +0000 (08:52 +0000)
committerHoward Chu <hyc@openldap.org>
Thu, 22 Nov 2007 08:52:39 +0000 (08:52 +0000)
servers/slapd/back-bdb/cache.c

index 4e64631f998d4fb741a5e1d17171799181e89b90..7cd7194ab7c407b04b7a27c5d338eb72e729de51 100644 (file)
@@ -1164,7 +1164,7 @@ bdb_cache_modrdn(
                pei->bei_ckids--;
                if ( pei->bei_dkids ) {
                        pei->bei_dkids--;
-                       if ( pei->bei_kids < 2 )
+                       if ( pei->bei_dkids < 2 )
                                pei->bei_state |= CACHE_ENTRY_NO_KIDS | CACHE_ENTRY_NO_GRANDKIDS;
                }
        }