From 02fb60d3dad11f9ee46feb6ba3eb9ad96dde0c48 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Thu, 23 May 2002 03:17:58 +0000 Subject: [PATCH] Delete extranous assert() --- servers/slapd/back-bdb/modify.c | 1 - servers/slapd/back-ldbm/modify.c | 1 - 2 files changed, 2 deletions(-) diff --git a/servers/slapd/back-bdb/modify.c b/servers/slapd/back-bdb/modify.c index 9fece09c88..184976e5e8 100644 --- a/servers/slapd/back-bdb/modify.c +++ b/servers/slapd/back-bdb/modify.c @@ -91,7 +91,6 @@ int bdb_modify_internal( Debug(LDAP_DEBUG_ARGS, "bdb_modify_internal: replace\n", 0, 0, 0); #endif err = modify_replace_values( e, mod, text, textbuf, textlen ); - assert( err != LDAP_TYPE_OR_VALUE_EXISTS ); if( err != LDAP_SUCCESS ) { #ifdef NEW_LOGGING LDAP_LOG (( "modify", LDAP_LEVEL_ERR, "bdb_modify_internal: %d %s\n", err, *text )); diff --git a/servers/slapd/back-ldbm/modify.c b/servers/slapd/back-ldbm/modify.c index 2dfb9be680..03f81b1687 100644 --- a/servers/slapd/back-ldbm/modify.c +++ b/servers/slapd/back-ldbm/modify.c @@ -110,7 +110,6 @@ int ldbm_modify_internal( #endif rc = modify_replace_values( e, mod, text, textbuf, textlen ); - assert( rc != LDAP_TYPE_OR_VALUE_EXISTS ); if( rc != LDAP_SUCCESS ) { #ifdef NEW_LOGGING LDAP_LOG(( "backend", LDAP_LEVEL_INFO, -- 2.39.5