]> git.sur5r.net Git - openldap/commitdiff
Minor cleanup
authorKurt Zeilenga <kurt@openldap.org>
Sat, 1 Jun 2002 20:21:59 +0000 (20:21 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Sat, 1 Jun 2002 20:21:59 +0000 (20:21 +0000)
servers/slapd/back-bdb/search.c

index 55189880e947628a44665cf9053b511d33ebe842..a68e17fb646e90400b4058bb1f660c30aea5f04b 100644 (file)
@@ -127,7 +127,6 @@ dn2entry_retry:
 
                if ( matched != NULL ) {
                        BerVarray erefs;
-
                        ber_dupbv( &matched_dn, &matched->e_name );
 
                        erefs = is_entry_referral( matched )
@@ -341,8 +340,8 @@ id2entry_retry:
                        send_ldap_result( conn, op, rc=LDAP_BUSY,
                                NULL, "ldap server busy", NULL, NULL );
                        goto done;
-               }
-               else if ( rc == DB_LOCK_DEADLOCK || rc == DB_LOCK_NOTGRANTED ) {
+
+               else if ( rc == DB_LOCK_DEADLOCK || rc == DB_LOCK_NOTGRANTED ) {
                        goto id2entry_retry;    
                }