diff options
Diffstat (limited to 'ldap/servers')
-rw-r--r-- | ldap/servers/slapd/back-ldbm/idl_new.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ldap/servers/slapd/back-ldbm/idl_new.c b/ldap/servers/slapd/back-ldbm/idl_new.c index cb391498..15c022a7 100644 --- a/ldap/servers/slapd/back-ldbm/idl_new.c +++ b/ldap/servers/slapd/back-ldbm/idl_new.c @@ -244,9 +244,7 @@ IDList * idl_new_fetch( ret = cursor->c_get(cursor,&key,&data,DB_SET); #endif if (0 != ret) { - if (DB_NOTFOUND == ret) { - ret = 0; - } else { + if (DB_NOTFOUND != ret) { #ifdef DB_USE_BULK_FETCH if (ret == ENOMEM) { LDAPDebug(LDAP_DEBUG_ANY, "database index is corrupt; " |