From: Kurt Zeilenga Date: Sat, 1 Jun 2002 20:21:59 +0000 (+0000) Subject: Minor cleanup X-Git-Tag: OPENLDAP_REL_ENG_2_MP~32 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=26649fb164deb2dd9e48b2dd91e725c834782069;p=openldap Minor cleanup --- diff --git a/servers/slapd/back-bdb/search.c b/servers/slapd/back-bdb/search.c index 55189880e9..a68e17fb64 100644 --- a/servers/slapd/back-bdb/search.c +++ b/servers/slapd/back-bdb/search.c @@ -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; }