From: Tom Yu Date: Thu, 28 Oct 2004 23:41:10 +0000 (+0000) Subject: * misc.c (check_min_life): Actually return a value on success X-Git-Tag: krb5-1.4-beta1~1 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=33c1f25ee6336fc76c4e975b4a240f3c5f3eb26a;p=krb5.git * misc.c (check_min_life): Actually return a value on success ticket: 1335 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16843 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/kadmin/server/ChangeLog b/src/kadmin/server/ChangeLog index c7d75b3d5..8b5db1f8a 100644 --- a/src/kadmin/server/ChangeLog +++ b/src/kadmin/server/ChangeLog @@ -1,3 +1,7 @@ +2004-10-28 Tom Yu + + * misc.c (check_min_life): Actually return a value on success. + 2004-10-27 Tom Yu * misc.c, misc.h: New function check_min_life(), containing common diff --git a/src/kadmin/server/misc.c b/src/kadmin/server/misc.c index 06e8c36be..f2afd23af 100644 --- a/src/kadmin/server/misc.c +++ b/src/kadmin/server/misc.c @@ -147,7 +147,5 @@ check_min_life(void *server_handle, krb5_principal principal) } } - ret = kadm5_free_principal_ent(handle->lhandle, &princ); - if (ret) - return ret; + return kadm5_free_principal_ent(handle->lhandle, &princ); }