(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:
Johan Danielsson
2002-08-19 12:17:49 +00:00
parent cd299be4f8
commit b0ef62525d

View File

@@ -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).
* All rights reserved.
*
@@ -37,13 +37,11 @@ RCSID("$Id$");
static krb5_log_facility *logf;
void
kdc_openlog(krb5_config_section *cf)
kdc_openlog(void)
{
char **s = NULL, **p;
krb5_initlog(context, "kdc", &logf);
if(cf)
s = krb5_config_get_strings(context, cf, "kdc", "logging", NULL);
s = krb5_config_get_strings(context, NULL, "kdc", "logging", NULL);
if(s == NULL)
s = krb5_config_get_strings(context, NULL, "logging", "kdc", NULL);
if(s){