From: Howard Chu Date: Tue, 12 Feb 2008 21:27:15 +0000 (+0000) Subject: ITS#5370 slap_op_time mutex X-Git-Tag: OPENLDAP_REL_ENG_2_4_9~20^2~153 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=20584e94f4ac1c463bbf69c4986536fb5e333b2a;p=openldap ITS#5370 slap_op_time mutex --- 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 {