simplify
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22860 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -522,7 +522,7 @@ change_password_loop (krb5_context context,
|
|||||||
krb5_krbhst_handle handle = NULL;
|
krb5_krbhst_handle handle = NULL;
|
||||||
krb5_krbhst_info *hi;
|
krb5_krbhst_info *hi;
|
||||||
int sock;
|
int sock;
|
||||||
int i;
|
unsigned int i;
|
||||||
int done = 0;
|
int done = 0;
|
||||||
krb5_realm realm;
|
krb5_realm realm;
|
||||||
|
|
||||||
@@ -647,9 +647,7 @@ change_password_loop (krb5_context context,
|
|||||||
out:
|
out:
|
||||||
krb5_krbhst_free (context, handle);
|
krb5_krbhst_free (context, handle);
|
||||||
krb5_auth_con_free (context, auth_context);
|
krb5_auth_con_free (context, auth_context);
|
||||||
if (done)
|
|
||||||
return 0;
|
|
||||||
else {
|
|
||||||
if (ret == KRB5_KDC_UNREACH) {
|
if (ret == KRB5_KDC_UNREACH) {
|
||||||
krb5_set_error_string(context,
|
krb5_set_error_string(context,
|
||||||
"unable to reach any changepw server "
|
"unable to reach any changepw server "
|
||||||
@@ -658,7 +656,6 @@ change_password_loop (krb5_context context,
|
|||||||
}
|
}
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Reference in New Issue
Block a user