From a11630f9b8c332b4ce26a2eb1f217c16ae136f24 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Thu, 22 Jul 1999 00:49:25 +0000 Subject: [PATCH] Fix maxDeref directive --- servers/slapd/config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); -- 2.39.5