From: John Kohl Date: Wed, 10 Oct 1990 17:26:57 +0000 (+0000) Subject: change data structure names X-Git-Tag: krb5-1.0-alpha2~179 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7caade61f51ed80e362fe3d0cc0a76a8afaedae6;p=krb5.git change data structure names git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1232 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/kdc/dispatch.c b/src/kdc/dispatch.c index 90b9e470d..5ca57d273 100644 --- a/src/kdc/dispatch.c +++ b/src/kdc/dispatch.c @@ -29,8 +29,8 @@ krb5_data **response; { krb5_error_code retval; - krb5_as_req *as_req; - krb5_tgs_req *tgs_req; + krb5_kdc_req *as_req; + krb5_kdc_req *tgs_req; /* decode incoming packet, and dispatch */ /* try TGS_REQ first; they are more common! */ @@ -38,12 +38,12 @@ krb5_data **response; if (krb5_is_tgs_req(pkt)) { if (!(retval = decode_krb5_tgs_req(pkt, &tgs_req))) { retval = process_tgs_req(tgs_req, from, response); - krb5_free_tgs_req(tgs_req); + krb5_free_kdc_req(tgs_req); } } else if (krb5_is_as_req(pkt)) { if (!(retval = decode_krb5_as_req(pkt, &as_req))) { retval = process_as_req(as_req, from, response); - krb5_free_as_req(as_req); + krb5_free_kdc_req(as_req); } } else if (pkt->data[0] == 4) /* XXX old version */ return(process_v4(pkt));