From: Paul Park Date: Thu, 3 Aug 1995 16:05:07 +0000 (+0000) Subject: Fix krb5_aprof_get_deltat() X-Git-Tag: krb5-1.0-beta6~1432 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9c21d9ec85152c9eb48c7876c0b7f28841d9d6cb;p=krb5.git Fix krb5_aprof_get_deltat() git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6391 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/kadm/ChangeLog b/src/lib/kadm/ChangeLog index d1e1ad7b7..c6dcb8584 100644 --- a/src/lib/kadm/ChangeLog +++ b/src/lib/kadm/ChangeLog @@ -1,4 +1,9 @@ +Thu Aug 3 11:51:14 EDT 1995 Paul Park (pjpark@mit.edu) + * alt_prof.c - Actually pass back the parsed string value in krb5_aprof_ + get_deltat(). + + Mon Jul 31 15:52:40 EDT 1995 Paul Park (pjpark@mit.edu) * adm_kw_{enc,dec}.c - Add support for new kadmin protocol. * alt_prof.c - Remove string conversion routine, use the ones in str_ diff --git a/src/lib/kadm/alt_prof.c b/src/lib/kadm/alt_prof.c index b2833ff52..4288ba88c 100644 --- a/src/lib/kadm/alt_prof.c +++ b/src/lib/kadm/alt_prof.c @@ -118,7 +118,6 @@ krb5_aprof_get_deltat(acontext, hierarchy, uselast, deltatp) char **values; char *valp; int index; - krb5_deltat dt; if (!(kret = krb5_aprof_getvals(acontext, hierarchy, &values))) { index = 0; @@ -127,7 +126,7 @@ krb5_aprof_get_deltat(acontext, hierarchy, uselast, deltatp) index--; } valp = values[index]; - kret = krb5_string_to_deltat(valp, &dt); + kret = krb5_string_to_deltat(valp, deltatp); /* Free the string storage */ for (index=0; values[index]; index++)