From a37e15a462b0954032a64853cdeeb8113e60d4bb Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Wed, 29 Jul 1992 15:36:07 +0000 Subject: [PATCH] Checked in jfc's changes: krb5_principal reorganization git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2315 dc483132-0cff-0310-8789-dd5450dbe970 --- src/clients/kinit/kinit.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/clients/kinit/kinit.c b/src/clients/kinit/kinit.c index 50455a5a6..94de269bd 100644 --- a/src/clients/kinit/kinit.c +++ b/src/clients/kinit/kinit.c @@ -158,9 +158,11 @@ main(argc, argv) my_creds.client = me; if (code = krb5_build_principal_ext(&server, - me[0]->length, me[0]->data, + krb5_princ_realm(me)->length, + krb5_princ_realm(me)->data, tgtname.length, tgtname.data, - me[0]->length, me[0]->data, + krb5_princ_realm(me)->length, + krb5_princ_realm(me)->data, 0)) { com_err(argv[0], code, "while building server name"); exit(1); -- 2.26.2