fix mistaken order of args to tgtname()
authorJohn Kohl <jtkohl@mit.edu>
Wed, 6 Feb 1991 11:21:01 +0000 (11:21 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Wed, 6 Feb 1991 11:21:01 +0000 (11:21 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1652 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/krb/gc_frm_kdc.c

index 6f85223464e1ebe3a554113de135ddd9d2ef4d2b..3319822c77e70c5f3553cd1c3475f67816968733 100644 (file)
@@ -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 */