From: Howard Chu Date: Sat, 9 Apr 2005 11:21:08 +0000 (+0000) Subject: Silence warnings in prev commit X-Git-Tag: OPENLDAP_AC_BP~947 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=20eaae2c7cab797026f47e0308f186c07ed8e42c;p=openldap Silence warnings in prev commit --- 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 );