rename delete -> remove

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5243 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1998-11-23 15:47:25 +00:00
parent a58bda19a4
commit fda87bb4b6
2 changed files with 3 additions and 3 deletions

View File

@@ -305,7 +305,7 @@ kadm5_log_replay_delete (kadm5_server_context *context,
krb5_ret_principal (sp, &ent.principal); krb5_ret_principal (sp, &ent.principal);
ret = context->db->delete(context->context, context->db, &ent); ret = context->db->remove(context->context, context->db, &ent);
krb5_free_principal (context->context, ent.principal); krb5_free_principal (context->context, ent.principal);
return ret; return ret;
} }
@@ -402,7 +402,7 @@ kadm5_log_replay_rename (kadm5_server_context *context,
return ret; return ret;
} }
source_ent.principal = source; source_ent.principal = source;
ret = context->db->delete (context->context, context->db, &source_ent); ret = context->db->remove (context->context, context->db, &source_ent);
krb5_free_principal (context->context, source); krb5_free_principal (context->context, source);
return ret; return ret;
} }

View File

@@ -94,7 +94,7 @@ kadm5_s_rename_principal(void *server_handle,
ent.principal = ent2.principal; ent.principal = ent2.principal;
goto out2; goto out2;
} }
ret = context->db->delete(context->context, context->db, &ent2); ret = context->db->rename(context->context, context->db, &ent2);
ent.principal = ent2.principal; ent.principal = ent2.principal;
out2: out2:
context->db->close(context->context, context->db); context->db->close(context->context, context->db);