mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-02-23 14:09:39 +08:00
Yet another schema error bug fix
This commit is contained in:
parent
a5f29741a6
commit
54d5d65791
@ -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 New Issue
Block a user