From: John Kohl Date: Wed, 6 Feb 1991 11:21:01 +0000 (+0000) Subject: fix mistaken order of args to tgtname() X-Git-Tag: krb5-1.0-alpha4~320 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=53967a8bc35a148eb6432bd32ece04166ad8b998;p=krb5.git fix mistaken order of args to tgtname() git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1652 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/krb/gc_frm_kdc.c b/src/lib/krb5/krb/gc_frm_kdc.c index 6f8522346..3319822c7 100644 --- a/src/lib/krb5/krb/gc_frm_kdc.c +++ b/src/lib/krb5/krb/gc_frm_kdc.c @@ -87,8 +87,8 @@ krb5_get_cred_from_kdc (ccache, cred, tgts) memset((char *)&tgtq, 0, sizeof(tgtq)); tgtq.client = cred->client; - if (retval = krb5_tgtname(krb5_princ_realm(cred->client), - krb5_princ_realm(cred->server), &tgtq.server)) + if (retval = krb5_tgtname(krb5_princ_realm(cred->server), + krb5_princ_realm(cred->client), &tgtq.server)) return retval; /* try to fetch it directly */