From f1c5ad19bdcdcd767eac46886782c531642f1530 Mon Sep 17 00:00:00 2001 From: Mark Eichin Date: Wed, 11 Sep 1996 00:52:00 +0000 Subject: [PATCH] * alt_prof.c (krb5_aprof_init): use profile_init_path on fname, not profile_init. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9073 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/kadm5/ChangeLog | 5 +++++ src/lib/kadm5/alt_prof.c | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/lib/kadm5/ChangeLog b/src/lib/kadm5/ChangeLog index f3d2c637f..9cf785b0b 100644 --- a/src/lib/kadm5/ChangeLog +++ b/src/lib/kadm5/ChangeLog @@ -1,3 +1,8 @@ +Tue Sep 10 01:47:39 1996 Mark Eichin + + * alt_prof.c (krb5_aprof_init): use profile_init_path on fname, + not profile_init. + Wed Aug 28 16:11:50 1996 Barry Jaspan * alt_prof.c (kadm5_get_config_params): fix default semantics to diff --git a/src/lib/kadm5/alt_prof.c b/src/lib/kadm5/alt_prof.c index b9ea0dd0a..a3e1c74ae 100644 --- a/src/lib/kadm5/alt_prof.c +++ b/src/lib/kadm5/alt_prof.c @@ -61,9 +61,8 @@ krb5_aprof_init(fname, envname, acontextp) } } } - namelist[0] = fname; profile = (profile_t) NULL; - if (!(kret = profile_init(namelist, &profile))) { + if (fname && !(kret = profile_init_path(fname, &profile))) { *acontextp = (krb5_pointer) profile; return(0); } -- 2.26.2