]> git.sur5r.net Git - openldap/commitdiff
slap_set_time() is no longer necessary.
authorKurt Zeilenga <kurt@openldap.org>
Mon, 22 Mar 1999 19:16:22 +0000 (19:16 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Mon, 22 Mar 1999 19:16:22 +0000 (19:16 +0000)
servers/slapd/back-bdb2/txn.c
servers/slapd/monitor.c

index 6f5db42024105f5ce50bf87b5f5616a9822acf47..f6176ab1196a0d1642b65c14d7ed9477d3cc516f 100644 (file)
@@ -764,7 +764,6 @@ bdb2i_set_txn_checkpoint( DB_TXNMGR *txmgr, int forced )
                logsize = forced ? (u_int32_t) 0 : txn_max_pending_log;
                mins    = forced ? (u_int32_t) 0 : txn_max_pending_time;
 
-               slap_set_time();
                now = slap_get_time();
 
                rc = txn_checkpoint( txmgr, logsize, mins );
index 65594af1833076b6533f1125c4047d8c1fd08a19..035ef9769df9d3e3df13794128f8feb7f8476c97 100644 (file)
@@ -149,7 +149,6 @@ monitor_info( Connection *conn, Operation *op )
        attr_merge( e, "bytessent", vals );
 #endif
 
-       slap_set_time();
        currenttime = slap_get_time();
 
        ldap_pvt_thread_mutex_lock( &gmtime_mutex );