From 3f4243def94e6ce83db63b6baedf7f541dad27dd Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Wed, 19 Jan 2005 06:43:33 +0000 Subject: [PATCH] Cleanup prev commit --- servers/slapd/back-bdb/idl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/servers/slapd/back-bdb/idl.c b/servers/slapd/back-bdb/idl.c index 0022e401f6..b97368677e 100644 --- a/servers/slapd/back-bdb/idl.c +++ b/servers/slapd/back-bdb/idl.c @@ -726,12 +726,12 @@ bdb_idl_insert_key( /* Delete all the records between lo and hi */ for ( i=2; ic_get( cursor, &key2, &data, DB_NEXT_DUP | DB_RMW ); - if ( rc != 0 && rc != DB_NOTFOUND ) { + if ( rc != 0 ) { err = "c_get next_dup"; goto fail; } rc = cursor->c_del( cursor, 0 ); - if ( rc != 0 && rc != DB_NOTFOUND ) { + if ( rc != 0 ) { err = "c_del range"; goto fail; } -- 2.39.5