* server_init.c (kadm5_lock, kadm5_unlock): Return KADM5_OK
authorEzra Peisach <epeisach@mit.edu>
Tue, 15 Oct 2002 15:40:49 +0000 (15:40 +0000)
committerEzra Peisach <epeisach@mit.edu>
Tue, 15 Oct 2002 15:40:49 +0000 (15:40 +0000)
instead of falling off end of function.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14927 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/kadm5/srv/ChangeLog
src/lib/kadm5/srv/server_init.c

index e7e569e8207c10c83856f9558978f0ae3d886aad..c9941e7343f0c2617e7077a5538cc997c5905291 100644 (file)
@@ -1,3 +1,8 @@
+2002-10-15  Ezra Peisach  <epeisach@bu.edu>
+
+       * server_init.c (kadm5_lock, kadm5_unlock): Return KADM5_OK
+       instead of falling off end of function.
+
 2002-10-08  Tom Yu  <tlyu@mit.edu>
 
        * adb_openclose.c (osa_adb_init_db): Reset opencnt.
index f2cbc991fb3153eaaf334cecda8a07f99603ed7e..dc3526a72ff2fe993c6fc766ad4ad1e3067e93e2 100644 (file)
@@ -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)