From 2cc078c4f1fe1872d9bd903e6e7c941f2efda93b Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Sat, 30 Jan 1999 18:26:16 +0000 Subject: [PATCH] (kadm5_s_rename_principal): call remove instead of rename, but shouldn't this just call rename? git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5302 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/kadm5/rename_s.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/kadm5/rename_s.c b/lib/kadm5/rename_s.c index ff3326a97..04c625365 100644 --- a/lib/kadm5/rename_s.c +++ b/lib/kadm5/rename_s.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 1998 Kungliga Tekniska Högskolan + * Copyright (c) 1997, 1998, 1999 Kungliga Tekniska Högskolan * (Royal Institute of Technology, Stockholm, Sweden). * All rights reserved. * @@ -94,7 +94,7 @@ kadm5_s_rename_principal(void *server_handle, ent.principal = ent2.principal; goto out2; } - ret = context->db->rename(context->context, context->db, &ent2); + ret = context->db->remove(context->context, context->db, &ent2); ent.principal = ent2.principal; out2: context->db->close(context->context, context->db);