From 54d5d65791216819349aa76bd5943e8d580eb2c6 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Thu, 20 Jun 2002 20:48:19 +0000 Subject: [PATCH] Yet another schema error bug fix --- servers/slapd/schemaparse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/slapd/schemaparse.c b/servers/slapd/schemaparse.c index c3e8f0b6a6..1f9138753b 100644 --- a/servers/slapd/schemaparse.c +++ b/servers/slapd/schemaparse.c @@ -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]; -- 2.39.5