]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-dnssrv/config.c
Add a safety check to bvcasechr
[openldap] / servers / slapd / back-dnssrv / config.c
index 99dad353af788463dfd9ea49a67e742f7bf7f119..e382b17b1f324e3c8ab943e89e0997f81655201c 100644 (file)
@@ -1,7 +1,7 @@
 /* config.c - DNS SRV backend configuration file routine */
 /* $OpenLDAP$ */
 /*
- * Copyright 2000 The OpenLDAP Foundation, All Rights Reserved.
+ * Copyright 2000-2002 The OpenLDAP Foundation, All Rights Reserved.
  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
  */
 
@@ -21,8 +21,7 @@ dnssrv_back_db_config(
     const char *fname,
     int                lineno,
     int                argc,
-    char       **argv
-)
+    char       **argv )
 {
        struct ldapinfo *li = (struct ldapinfo *) be->be_private;
        char *port;
@@ -36,7 +35,8 @@ dnssrv_back_db_config(
        /* no configuration options (yet) */
        {
                fprintf( stderr,
-"%s: line %d: unknown directive \"%s\" in DNSSRV database definition (ignored)\n",
+                       "%s: line %d: unknown directive \"%s\""
+                       " in DNSSRV database definition (ignored)\n",
                    fname, lineno, argv[0] );
        }
        return 0;