(tgs_rep2): rename loop to nloop to avoid shadow warning
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15386 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -1954,7 +1954,7 @@ tgs_rep2(KDC_REQ_BODY *b,
|
|||||||
Realm r;
|
Realm r;
|
||||||
char *spn = NULL, *cpn = NULL;
|
char *spn = NULL, *cpn = NULL;
|
||||||
hdb_entry *server = NULL, *client = NULL;
|
hdb_entry *server = NULL, *client = NULL;
|
||||||
int loop = 0;
|
int nloop = 0;
|
||||||
EncTicketPart adtkt;
|
EncTicketPart adtkt;
|
||||||
char opt_str[128];
|
char opt_str[128];
|
||||||
|
|
||||||
@@ -2023,7 +2023,7 @@ tgs_rep2(KDC_REQ_BODY *b,
|
|||||||
krb5_realm *realms;
|
krb5_realm *realms;
|
||||||
|
|
||||||
if ((req_rlm = get_krbtgt_realm(&sp->name)) != NULL) {
|
if ((req_rlm = get_krbtgt_realm(&sp->name)) != NULL) {
|
||||||
if(loop++ < 2) {
|
if(nloop++ < 2) {
|
||||||
new_rlm = find_rpath(tgt->crealm, req_rlm);
|
new_rlm = find_rpath(tgt->crealm, req_rlm);
|
||||||
if(new_rlm) {
|
if(new_rlm) {
|
||||||
kdc_log(5, "krbtgt for realm %s not found, trying %s",
|
kdc_log(5, "krbtgt for realm %s not found, trying %s",
|
||||||
|
Reference in New Issue
Block a user