Yet another schema error bug fix

This commit is contained in:
Kurt Zeilenga 2002-06-20 20:48:19 +00:00
parent a5f29741a6
commit 54d5d65791

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