From: Kurt Zeilenga Date: Mon, 22 Mar 1999 19:16:22 +0000 (+0000) Subject: slap_set_time() is no longer necessary. X-Git-Tag: OPENLDAP_SLAPD_BACK_LDAP~347 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4b65e74fa8ee7db3c42f4640700dd9464a26b0b3;p=openldap slap_set_time() is no longer necessary. --- diff --git a/servers/slapd/back-bdb2/txn.c b/servers/slapd/back-bdb2/txn.c index 6f5db42024..f6176ab119 100644 --- a/servers/slapd/back-bdb2/txn.c +++ b/servers/slapd/back-bdb2/txn.c @@ -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 ); diff --git a/servers/slapd/monitor.c b/servers/slapd/monitor.c index 65594af183..035ef9769d 100644 --- a/servers/slapd/monitor.c +++ b/servers/slapd/monitor.c @@ -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 );