(kdc_openlog): no need for a config_file parameter
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11124 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 1997, 1998 Kungliga Tekniska H<>gskolan
|
* Copyright (c) 1997, 1998, 2002 Kungliga Tekniska H<>gskolan
|
||||||
* (Royal Institute of Technology, Stockholm, Sweden).
|
* (Royal Institute of Technology, Stockholm, Sweden).
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
@@ -37,13 +37,11 @@ RCSID("$Id$");
|
|||||||
static krb5_log_facility *logf;
|
static krb5_log_facility *logf;
|
||||||
|
|
||||||
void
|
void
|
||||||
kdc_openlog(krb5_config_section *cf)
|
kdc_openlog(void)
|
||||||
{
|
{
|
||||||
char **s = NULL, **p;
|
char **s = NULL, **p;
|
||||||
krb5_initlog(context, "kdc", &logf);
|
krb5_initlog(context, "kdc", &logf);
|
||||||
if(cf)
|
s = krb5_config_get_strings(context, NULL, "kdc", "logging", NULL);
|
||||||
s = krb5_config_get_strings(context, cf, "kdc", "logging", NULL);
|
|
||||||
|
|
||||||
if(s == NULL)
|
if(s == NULL)
|
||||||
s = krb5_config_get_strings(context, NULL, "logging", "kdc", NULL);
|
s = krb5_config_get_strings(context, NULL, "logging", "kdc", NULL);
|
||||||
if(s){
|
if(s){
|
||||||
|
Reference in New Issue
Block a user