From: Ezra Peisach Date: Tue, 15 Oct 2002 15:40:49 +0000 (+0000) Subject: * server_init.c (kadm5_lock, kadm5_unlock): Return KADM5_OK X-Git-Tag: krb5-1.3-alpha1~324 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=663fdd55fc752da203781c7a0944d7143361edce;p=krb5.git * server_init.c (kadm5_lock, kadm5_unlock): Return KADM5_OK instead of falling off end of function. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14927 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/kadm5/srv/ChangeLog b/src/lib/kadm5/srv/ChangeLog index e7e569e82..c9941e734 100644 --- a/src/lib/kadm5/srv/ChangeLog +++ b/src/lib/kadm5/srv/ChangeLog @@ -1,3 +1,8 @@ +2002-10-15 Ezra Peisach + + * server_init.c (kadm5_lock, kadm5_unlock): Return KADM5_OK + instead of falling off end of function. + 2002-10-08 Tom Yu * adb_openclose.c (osa_adb_init_db): Reset opencnt. diff --git a/src/lib/kadm5/srv/server_init.c b/src/lib/kadm5/srv/server_init.c index f2cbc991f..dc3526a72 100644 --- a/src/lib/kadm5/srv/server_init.c +++ b/src/lib/kadm5/srv/server_init.c @@ -318,6 +318,8 @@ kadm5_ret_t kadm5_lock(void *server_handle) ret = krb5_db_lock(handle->context, KRB5_LOCKMODE_EXCLUSIVE); if (ret) return ret; + + return KADM5_OK; } kadm5_ret_t kadm5_unlock(void *server_handle) @@ -332,6 +334,8 @@ kadm5_ret_t kadm5_unlock(void *server_handle) ret = krb5_db_unlock(handle->context); if (ret) return ret; + + return KADM5_OK; } kadm5_ret_t kadm5_flush(void *server_handle)