From: Theodore Tso Date: Wed, 29 Jul 1992 15:36:07 +0000 (+0000) Subject: Checked in jfc's changes: krb5_principal reorganization X-Git-Tag: krb5-1.0-beta2~147 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a37e15a462b0954032a64853cdeeb8113e60d4bb;p=krb5.git Checked in jfc's changes: krb5_principal reorganization git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2315 dc483132-0cff-0310-8789-dd5450dbe970 --- 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);