This commit is contained in:
Pierangelo Masarati 2005-07-25 20:47:01 +00:00
parent 4971ea14bb
commit 5ecdfd13b4
2 changed files with 2 additions and 2 deletions

View File

@ -2290,7 +2290,7 @@ acl_destroy( AccessControl *a, AccessControl *end )
{
AccessControl *n;
for (; a && a!= end; a=n) {
for ( ; a && a != end; a = n ) {
n = a->acl_next;
acl_free( a );
}

View File

@ -731,7 +731,7 @@ slap_send_search_entry( Operation *op, SlapReply *rs )
struct berval bv;
bv.bv_len = entry_flatsize( rs->sr_entry, 0 );
bv.bv_val = op->o_tmpalloc(bv.bv_len, op->o_tmpmemctx );
bv.bv_val = op->o_tmpalloc( bv.bv_len, op->o_tmpmemctx );
ber_init2( ber, &bv, LBER_USE_DER );
ber_set_option( ber, LBER_OPT_BER_MEMCTX, &op->o_tmpmemctx );