From 20eaae2c7cab797026f47e0308f186c07ed8e42c Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Sat, 9 Apr 2005 11:21:08 +0000 Subject: [PATCH] Silence warnings in prev commit --- servers/slapd/back-bdb/modify.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/servers/slapd/back-bdb/modify.c b/servers/slapd/back-bdb/modify.c index fd317bc25f..5124c0285f 100644 --- a/servers/slapd/back-bdb/modify.c +++ b/servers/slapd/back-bdb/modify.c @@ -363,7 +363,7 @@ retry: /* transaction retry */ attr_merge( e, slap_schema.si_ad_objectClass, ocbva, NULL ); attr_merge_one( e, slap_schema.si_ad_structuralObjectClass, &ocbva[0], NULL ); - BEI(e) = ei; + e->e_private = ei; fakeroot = 1; rs->sr_err = 0; } @@ -529,7 +529,7 @@ retry: /* transaction retry */ /* may have changed in bdb_modify_internal() */ e->e_ocflags = dummy.e_ocflags; if ( fakeroot ) { - BEI(e) = NULL; + e->e_private = NULL; entry_free( e ); } else { rc = bdb_cache_modify( e, dummy.e_attrs, bdb->bi_dbenv, locker, &lock ); -- 2.39.5