Skip to content
Snippets Groups Projects
Commit 642c8b16 authored by Hallvard Furuseth's avatar Hallvard Furuseth
Browse files

Break up too long string literals (>509 characters, ISO C's minimum max size).

parent 4526d688
No related branches found
No related tags found
No related merge requests found
......@@ -1288,7 +1288,7 @@ str2accessmask( const char *str )
static void
acl_usage( void )
{
fprintf( stderr, "\n"
fprintf( stderr, "%s%s\n",
"<access clause> ::= access to <what> "
"[ by <who> <access> [ <control> ] ]+ \n"
"<what> ::= * | [dn[.<dnstyle>]=<DN>] [filter=<filter>] [attrs=<attrlist>]\n"
......@@ -1297,7 +1297,7 @@ acl_usage( void )
"<who> ::= [ * | anonymous | users | self | dn[.<dnstyle>]=<DN> ]\n"
"\t[dnattr=<attrname>]\n"
"\t[group[/<objectclass>[/<attrname>]][.<style>]=<group>]\n"
"\t[peername[.<style>]=<peer>] [sockname[.<style>]=<name>]\n"
"\t[peername[.<style>]=<peer>] [sockname[.<style>]=<name>]\n",
"\t[domain[.<style>]=<domain>] [sockurl[.<style>]=<url>]\n"
#ifdef SLAPD_ACI_ENABLED
"\t[aci=<attrname>]\n"
......
......@@ -214,20 +214,20 @@ oc_usage( void )
static void
at_usage( void )
{
fprintf( stderr,
fprintf( stderr, "%s%s%s",
"AttributeTypeDescription = \"(\" whsp\n"
" numericoid whsp ; AttributeType identifier\n"
" [ \"NAME\" qdescrs ] ; name used in AttributeType\n"
" [ \"DESC\" qdstring ] ; description\n"
" [ \"OBSOLETE\" whsp ]\n"
" [ \"SUP\" woid ] ; derived from this other\n"
" ; AttributeType\n"
" ; AttributeType\n",
" [ \"EQUALITY\" woid ] ; Matching Rule name\n"
" [ \"ORDERING\" woid ] ; Matching Rule name\n"
" [ \"SUBSTR\" woid ] ; Matching Rule name\n"
" [ \"SYNTAX\" whsp noidlen whsp ] ; see section 4.3\n"
" [ \"SINGLE-VALUE\" whsp ] ; default multi-valued\n"
" [ \"COLLECTIVE\" whsp ] ; default not collective\n"
" [ \"COLLECTIVE\" whsp ] ; default not collective\n",
" [ \"NO-USER-MODIFICATION\" whsp ]; default user modifiable\n"
" [ \"USAGE\" whsp AttributeUsage ]; default userApplications\n"
" ; userApplications\n"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment