From: Mark Eichin Date: Wed, 11 Sep 1996 00:52:00 +0000 (+0000) Subject: * alt_prof.c (krb5_aprof_init): use profile_init_path on fname, X-Git-Tag: krb5-1.0-beta7~15 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f1c5ad19bdcdcd767eac46886782c531642f1530;p=krb5.git * 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 --- 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); }