]> git.sur5r.net Git - openldap/commitdiff
Delete extranous assert()
authorKurt Zeilenga <kurt@openldap.org>
Thu, 23 May 2002 03:17:58 +0000 (03:17 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Thu, 23 May 2002 03:17:58 +0000 (03:17 +0000)
servers/slapd/back-bdb/modify.c
servers/slapd/back-ldbm/modify.c

index 9fece09c88f86b7b916666f4f517ae71bebcb31e..184976e5e877d8e7043b553228306317b78be396 100644 (file)
@@ -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 ));
index 2dfb9be680593217a56ba282277498279f4fd17e..03f81b1687aa2675d3faa87f8f9577538e062331 100644 (file)
@@ -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,