]> git.sur5r.net Git - openldap/commitdiff
Silence warnings in prev commit
authorHoward Chu <hyc@openldap.org>
Sat, 9 Apr 2005 11:21:08 +0000 (11:21 +0000)
committerHoward Chu <hyc@openldap.org>
Sat, 9 Apr 2005 11:21:08 +0000 (11:21 +0000)
servers/slapd/back-bdb/modify.c

index fd317bc25f58d12aea968006a524207cdf7283f9..5124c0285fc29bee0b041a867cd3af6dc2b9c8ab 100644 (file)
@@ -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 );