From fb2e448e877a8a387084dde517362c9f7bf1b6b7 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Thu, 11 Jan 2007 18:57:37 +0000 Subject: [PATCH] cleanup --- clients/tools/ldapsearch.c | 2 +- servers/slapd/aclparse.c | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/clients/tools/ldapsearch.c b/clients/tools/ldapsearch.c index 79bee8e678..f5312a27b8 100644 --- a/clients/tools/ldapsearch.c +++ b/clients/tools/ldapsearch.c @@ -1167,7 +1167,7 @@ static int dosearch( nextended++; print_extended( ld, msg ); - if( ldap_msgid( msg ) == 0 ) { + if ( ldap_msgid( msg ) == 0 ) { /* unsolicited extended operation */ goto done; } diff --git a/servers/slapd/aclparse.c b/servers/slapd/aclparse.c index cc4b932deb..7733260f3f 100644 --- a/servers/slapd/aclparse.c +++ b/servers/slapd/aclparse.c @@ -1259,10 +1259,11 @@ parse_acl( } if ( !is_at_syntax( b->a_group_at->ad_type, - SLAPD_DN_SYNTAX ) && + SLAPD_DN_SYNTAX ) && !is_at_syntax( b->a_group_at->ad_type, - SLAPD_NAMEUID_SYNTAX ) && - !is_at_subtype( b->a_group_at->ad_type, slap_schema.si_ad_labeledURI->ad_type ) ) + SLAPD_NAMEUID_SYNTAX ) && + !is_at_subtype( b->a_group_at->ad_type, + slap_schema.si_ad_labeledURI->ad_type ) ) { char buf[ SLAP_TEXT_BUFLEN ]; -- 2.39.5