]> git.sur5r.net Git - openldap/commitdiff
reorder to statements for debugging purposes
authorKurt Zeilenga <kurt@openldap.org>
Sun, 16 Mar 2003 18:48:44 +0000 (18:48 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Sun, 16 Mar 2003 18:48:44 +0000 (18:48 +0000)
servers/slapd/back-bdb/search.c

index ce639d26bceec57f9bf4f85f697d766cfab79194..bbd63bd3d332838c34b1b45ae5b9be3d4b5f0215 100644 (file)
@@ -343,13 +343,13 @@ dn2entry_retry:
                        scope, deref, candidates );
        }
 
-       /* need normalized dn below */
-       ber_dupbv( &realbase, &e->e_nname );
-
        /* start cursor at beginning of candidates.
         */
        cursor = 0;
 
+       /* need normalized dn below */
+       ber_dupbv( &realbase, &e->e_nname );
+
        if ( e != &slap_entry_root ) {
                bdb_cache_return_entry_r(bdb->bi_dbenv, &bdb->bi_cache, e, &lock);
        }