From 20584e94f4ac1c463bbf69c4986536fb5e333b2a Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Tue, 12 Feb 2008 21:27:15 +0000 Subject: [PATCH] ITS#5370 slap_op_time mutex --- servers/slapd/operation.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/slapd/operation.c b/servers/slapd/operation.c index e975eae28d..b3ec0372bc 100644 --- a/servers/slapd/operation.c +++ b/servers/slapd/operation.c @@ -129,8 +129,8 @@ slap_op_free( Operation *op, void *ctx ) void slap_op_time(time_t *t, int *nop) { - *t = slap_get_time(); ldap_pvt_thread_mutex_lock( &slap_op_mutex ); + *t = slap_get_time(); if ( *t == last_time ) { *nop = ++last_incr; } else { -- 2.39.5