]> git.sur5r.net Git - openldap/commitdiff
Break up too long string literals (>509 characters, ISO C's minimum max size).
authorHallvard Furuseth <hallvard@openldap.org>
Tue, 3 Jun 2003 18:01:37 +0000 (18:01 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Tue, 3 Jun 2003 18:01:37 +0000 (18:01 +0000)
servers/slapd/aclparse.c
servers/slapd/schemaparse.c

index 6ea473f434b3d2c24a72b11e7c5fd9e6903aacd4..195b5c88f5a55575855eb1477e47e65371c486de 100644 (file)
@@ -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"
index fbfd93a59bd49d527b0772c356e630b73aacbf47..8eeba03d4d810f56f87bbe2ac25977f4052dcda3 100644 (file)
@@ -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"