From: Kurt Zeilenga Date: Mon, 19 Sep 2005 22:17:22 +0000 (+0000) Subject: Don't use #ifdefs in the inside of a macro X-Git-Tag: OPENLDAP_REL_ENG_2_2_MP~407 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f3e13ec5f593ca98fcfd0563a1dce5ff2eeb5d47;p=openldap Don't use #ifdefs in the inside of a macro --- diff --git a/servers/slapd/aclparse.c b/servers/slapd/aclparse.c index e9f4a69655..9b0e8e7acb 100644 --- a/servers/slapd/aclparse.c +++ b/servers/slapd/aclparse.c @@ -2234,12 +2234,16 @@ str2accessmask( const char *str ) static void acl_usage( void ) { - Debug( LDAP_DEBUG_ANY, "%s%s%s\n", + char *access = " ::= access to " - "[ by [ ] ]+ \n" + "[ by [ ] ]+ \n"; + + char *what = " ::= * | [dn[.]=] [filter=] [attrs=]\n" " ::= [val[/matchingRule][.]=] | , \n" - " ::= | entry | children\n", + " ::= | entry | children\n"; + + char *who = " ::= [ * | anonymous | users | self | dn[.]= ]\n" "\t[ realanonymous | realusers | realself | realdn[.]= ]\n" "\t[dnattr=]\n" @@ -2254,7 +2258,7 @@ acl_usage( void ) "\t[aci[=]]\n" #endif /* SLAPD_ACI_ENABLED */ #endif /* ! SLAP_DYNACL */ - "\t[ssf=] [transport_ssf=] [tls_ssf=] [sasl_ssf=]\n", + "\t[ssf=] [transport_ssf=] [tls_ssf=] [sasl_ssf=]\n" "