From: Kurt Zeilenga Date: Thu, 22 Jul 1999 00:49:25 +0000 (+0000) Subject: Fix maxDeref directive X-Git-Tag: OPENLDAP_REL_ENG_2_BP~67 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a11630f9b8c332b4ce26a2eb1f217c16ae136f24;p=openldap Fix maxDeref directive --- diff --git a/servers/slapd/config.c b/servers/slapd/config.c index 5ffb42cfff..3a9e7b4d61 100644 --- a/servers/slapd/config.c +++ b/servers/slapd/config.c @@ -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 );