(renew_validate): invert condition correctly. get v4 tickets if we

succeed renewing


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10361 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
2001-07-19 16:54:42 +00:00
parent 185aff6954
commit a5bcd83ab5

View File

@@ -365,7 +365,7 @@ renew_validate(krb5_context context,
ret = krb5_cc_store_cred(context, cache, out);
#ifdef KRB4
if(ret != 0 && server == NULL) {
if(ret == 0 && server == NULL) {
/* only do this if it's a general renew-my-tgt request */
if(get_v4_tgt)
do_524init(context, cache, out, NULL);