From: Kurt Zeilenga Date: Sat, 5 Jan 2002 19:36:41 +0000 (+0000) Subject: Fix compile errors X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~270 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c83b406fdcd2305fe775911748a650d80845e3af;p=openldap Fix compile errors --- diff --git a/servers/slapd/back-bdb/search.c b/servers/slapd/back-bdb/search.c index 3106ceae3a..cd904105e7 100644 --- a/servers/slapd/back-bdb/search.c +++ b/servers/slapd/back-bdb/search.c @@ -129,10 +129,11 @@ bdb_search( if (!manageDSAit && e != &slap_entry_root && is_entry_referral( e ) ) { /* entry is a referral, don't allow add */ struct berval matched_dn; + BVarray erefs, refs; ber_dupbv( &matched_dn, &e->e_name ); - BVarray erefs = get_entry_referrals( be, conn, op, e ); - BVarray refs = NULL; + erefs = get_entry_referrals( be, conn, op, e ); + refs = NULL; bdb_entry_return( be, e ); e = NULL;