mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-29 19:19:35 -05:00
Yet another schema error bug fix
This commit is contained in:
parent
a5f29741a6
commit
54d5d65791
1 changed files with 1 additions and 1 deletions
|
|
@ -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];
|
||||
|
|
|
|||
Loading…
Reference in a new issue