Fix maxDeref directive

This commit is contained in:
Kurt Zeilenga 1999-07-22 00:49:25 +00:00
parent d5b1892ccc
commit a11630f9b8

View 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 );