Rename logf to avoid shadowing.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15931 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -45,7 +45,7 @@ check_log(void)
|
||||
int i;
|
||||
|
||||
for (i = 0; i < 10; i++) {
|
||||
krb5_log_facility *logf;
|
||||
krb5_log_facility *logfacility;
|
||||
krb5_context context;
|
||||
krb5_error_code ret;
|
||||
|
||||
@@ -53,9 +53,9 @@ check_log(void)
|
||||
if (ret)
|
||||
errx (1, "krb5_init_context failed: %d", ret);
|
||||
|
||||
krb5_initlog(context, "test-mem", &logf);
|
||||
krb5_addlog_dest(context, logf, "0/STDERR:");
|
||||
krb5_set_warn_dest(context, logf);
|
||||
krb5_initlog(context, "test-mem", &logfacility);
|
||||
krb5_addlog_dest(context, logfacility, "0/STDERR:");
|
||||
krb5_set_warn_dest(context, logfacility);
|
||||
|
||||
krb5_free_context(context);
|
||||
}
|
||||
|
Reference in New Issue
Block a user