From 5ecdfd13b4f8e356d54a7743033384a2b4fd0838 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Mon, 25 Jul 2005 20:47:01 +0000 Subject: [PATCH] cleanup --- servers/slapd/aclparse.c | 2 +- servers/slapd/result.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/servers/slapd/aclparse.c b/servers/slapd/aclparse.c index b6d4753088..0ab9510aef 100644 --- a/servers/slapd/aclparse.c +++ b/servers/slapd/aclparse.c @@ -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 ); } diff --git a/servers/slapd/result.c b/servers/slapd/result.c index 3011b1f46d..081eae7b0e 100644 --- a/servers/slapd/result.c +++ b/servers/slapd/result.c @@ -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 ); -- 2.39.5