From 26649fb164deb2dd9e48b2dd91e725c834782069 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Sat, 1 Jun 2002 20:21:59 +0000 Subject: [PATCH] Minor cleanup --- servers/slapd/back-bdb/search.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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; } -- 2.39.5