fix error text problems

This commit is contained in:
Kurt Zeilenga 2001-03-15 03:35:41 +00:00
parent 2f6cedf491
commit 344ee894ca

View file

@ -60,9 +60,9 @@ int ldbm_modify_internal(
err = add_values( e, mod, op->o_ndn );
if( err != LDAP_SUCCESS ) {
*text = "modify: add values failed";
Debug(LDAP_DEBUG_ARGS, "ldbm_modify_internal: %d %s\n",
err, *text, 0);
*text = "modify: add values failed";
}
break;
@ -71,9 +71,9 @@ int ldbm_modify_internal(
err = delete_values( e, mod, op->o_ndn );
assert( err != LDAP_TYPE_OR_VALUE_EXISTS );
if( err != LDAP_SUCCESS ) {
*text = "modify: delete values failed";
Debug(LDAP_DEBUG_ARGS, "ldbm_modify_internal: %d %s\n",
err, *text, 0);
*text = "modify: delete values failed";
}
break;
@ -82,9 +82,9 @@ int ldbm_modify_internal(
err = replace_values( e, mod, op->o_ndn );
assert( err != LDAP_TYPE_OR_VALUE_EXISTS );
if( err != LDAP_SUCCESS ) {
*text = "modify: replace values failed";
Debug(LDAP_DEBUG_ARGS, "ldbm_modify_internal: %d %s\n",
err, *text, 0);
*text = "modify: replace values failed";
}
break;
@ -101,9 +101,9 @@ int ldbm_modify_internal(
}
if( err != LDAP_SUCCESS ) {
*text = "modify: (soft)add values failed";
Debug(LDAP_DEBUG_ARGS, "ldbm_modify_internal: %d %s\n",
err, *text, 0);
*text = "modify: (soft)add values failed";
}
break;