fix confusion over which packet was which
authorJohn Kohl <jtkohl@mit.edu>
Fri, 23 Mar 1990 16:36:08 +0000 (16:36 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Fri, 23 Mar 1990 16:36:08 +0000 (16:36 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@401 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/krb/get_in_tkt.c

index 91cfd70b1fe360d7616c39910b6db91907273200..4d158713dea82a1424b9812c0202f94e3c95fc78 100644 (file)
@@ -114,9 +114,9 @@ OLDDECLARG(krb5_ccache, ccache)
 
     /* now decode the reply...could be error or as_rep */
 
-    if (retval = decode_krb5_as_rep(packet, &as_reply)) {
-       if (decode_krb5_error(packet, &err_reply))
-           return retval;              /* some other packet--??? */
+    if (retval = decode_krb5_as_rep(reply, &as_reply)) {
+       if (decode_krb5_error(reply, &err_reply))
+           return retval;              /* some other reply--??? */
        /* it was an error */
 
        /* XXX check to make sure the timestamps match, etc. */