diff options
author | Zhanna Tsitkov <tsitkova@mit.edu> | 2010-03-10 20:45:12 +0000 |
---|---|---|
committer | Zhanna Tsitkov <tsitkova@mit.edu> | 2010-03-10 20:45:12 +0000 |
commit | f430481d573dc76a17b31c11ce8a5c5ed878df72 (patch) | |
tree | 06b25ec3970938601a80b49e47bceef14845393c /src/lib/kadm5 | |
parent | a70719b7ca844a23a29a051592a4cd765f9ff470 (diff) | |
download | krb5-f430481d573dc76a17b31c11ce8a5c5ed878df72.zip krb5-f430481d573dc76a17b31c11ce8a5c5ed878df72.tar.gz krb5-f430481d573dc76a17b31c11ce8a5c5ed878df72.tar.bz2 |
Use KRB5_CONF_ macros instead of strings in the source file for profile config attributes "default" and "logging"
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23798 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/kadm5')
-rw-r--r-- | src/lib/kadm5/logger.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/kadm5/logger.c b/src/lib/kadm5/logger.c index 384e7a8..b43a96f 100644 --- a/src/lib/kadm5/logger.c +++ b/src/lib/kadm5/logger.c @@ -373,11 +373,11 @@ krb5_klog_init(krb5_context kcontext, char *ename, char *whoami, krb5_boolean do * Look up [logging]-><ename> in the profile. If that doesn't * succeed, then look for [logging]->default. */ - logging_profent[0] = "logging"; + logging_profent[0] = KRB5_CONF_LOGGING; logging_profent[1] = ename; logging_profent[2] = (char *) NULL; - logging_defent[0] = "logging"; - logging_defent[1] = "default"; + logging_defent[0] = KRB5_CONF_LOGGING; + logging_defent[1] = KRB5_CONF_DEFAULT; logging_defent[2] = (char *) NULL; logging_specs = (char **) NULL; ngood = 0; |