Fix master (lib/krb5 warnings)

This commit is contained in:
Nicolas Williams
2013-02-27 23:06:21 -06:00
parent 466d8c116f
commit 2c4c6101f4
2 changed files with 3 additions and 4 deletions

View File

@@ -115,11 +115,10 @@ an2ln_plugin(krb5_context context, const char *rule, krb5_const_principal aname,
static void
reg_def_plugins_once(void *ctx)
{
krb5_error_code ret;
krb5_context context = ctx;
ret = krb5_plugin_register(context, PLUGIN_TYPE_DATA,
KRB5_PLUGIN_AN2LN, &an2ln_def_plug);
krb5_plugin_register(context, PLUGIN_TYPE_DATA, KRB5_PLUGIN_AN2LN,
&an2ln_def_plug);
}
static int

View File

@@ -1239,7 +1239,7 @@ krb5_sendto_context(krb5_context context,
}
_krb5_debug(context, 1,
"krb5_sendto_context %s done: %d hosts %lu packets %lu wc: %ld.%06d nr: %ld.%06d kh: %ld.%06d tid: %08x",
"krb5_sendto_context %s done: %d hosts %lu packets %lu wc: %ld.%06ld nr: %ld.%06ld kh: %ld.%06ld tid: %08x",
realm, ret,
ctx->stats.num_hosts, ctx->stats.sent_packets,
stop_time.tv_sec, stop_time.tv_usec,