From c83b406fdcd2305fe775911748a650d80845e3af Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Sat, 5 Jan 2002 19:36:41 +0000 Subject: [PATCH] Fix compile errors --- servers/slapd/back-bdb/search.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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; -- 2.39.5