]> git.sur5r.net Git - openldap/commitdiff
Yet another schema error bug fix
authorKurt Zeilenga <kurt@openldap.org>
Thu, 20 Jun 2002 20:48:19 +0000 (20:48 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Thu, 20 Jun 2002 20:48:19 +0000 (20:48 +0000)
servers/slapd/schemaparse.c

index c3e8f0b6a69d80af83a6fd352fcecc6b5ebdbe86..1f9138753b38459864de403b687d815e669c37f7 100644 (file)
@@ -47,7 +47,7 @@ static char *const err2text[] = {
 char *
 scherr2str(int code)
 {
-       if ( code < 0 || SLAP_SCHERR_LAST < code ) {
+       if ( code < 0 || SLAP_SCHERR_LAST <= code ) {
                return "Unknown error";
        } else {
                return err2text[code];