]> git.sur5r.net Git - openldap/commitdiff
Fix maxDeref directive
authorKurt Zeilenga <kurt@openldap.org>
Thu, 22 Jul 1999 00:49:25 +0000 (00:49 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Thu, 22 Jul 1999 00:49:25 +0000 (00:49 +0000)
servers/slapd/config.c

index 5ffb42cfff054e43c005155d4b0a7be31726f3ad..3a9e7b4d61dd193ab94cb6132b3259d83c7f8c4e 100644 (file)
@@ -240,7 +240,7 @@ read_config( char *fname )
                                Debug( LDAP_DEBUG_ANY,
 "%s: line %d: depth line must appear inside a database definition (ignored)\n",
                                    fname, lineno, 0 );
-                       } else if ((i = atoi(cargv[i])) < 0) {
+                       } else if ((i = atoi(cargv[1])) < 0) {
                                Debug( LDAP_DEBUG_ANY,
 "%s: line %d: depth must be positive (ignored)\n",
                                    fname, lineno, 0 );