Skip to content

Commit

Permalink
inst->xlat_name not needed for debug messages in rlm_krb5
Browse files Browse the repository at this point in the history
  • Loading branch information
arr2036 committed Jul 11, 2013
1 parent a156edf commit 4715310
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/rlm_krb5/rlm_krb5.c
Expand Up @@ -432,7 +432,7 @@ static rlm_rcode_t krb5_auth(void *instance, REQUEST *request)
*/
ret = krb5_copy_context(inst->context, &context);
if (ret) {
REDEBUG("Error cloning krb5 context: %s", inst->xlat_name, error_message(ret));
REDEBUG("Error cloning krb5 context: %s", error_message(ret));

return RLM_MODULE_FAIL;
}
Expand Down Expand Up @@ -462,7 +462,7 @@ static rlm_rcode_t krb5_auth(void *instance, REQUEST *request)
krb5_kt_resolve(context, inst->keytabname, &keytab) :
krb5_kt_default(context, &keytab);
if (ret) {
REDEBUG("Resolving keytab failed: %s", inst->xlat_name, error_message(ret));
REDEBUG("Resolving keytab failed: %s", error_message(ret));

goto cleanup;
}
Expand Down

0 comments on commit 4715310

Please sign in to comment.