From: John Kohl Date: Fri, 23 Mar 1990 16:36:08 +0000 (+0000) Subject: fix confusion over which packet was which X-Git-Tag: krb5-1.0-alpha2~987 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=fd9500620df128bc407c315f6637a4bf74b52e7a;p=krb5.git fix confusion over which packet was which git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@401 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/krb/get_in_tkt.c b/src/lib/krb5/krb/get_in_tkt.c index 91cfd70b1..4d158713d 100644 --- a/src/lib/krb5/krb/get_in_tkt.c +++ b/src/lib/krb5/krb/get_in_tkt.c @@ -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. */