ITS#5370 slap_op_time mutex

This commit is contained in:
Howard Chu 2008-02-12 21:27:15 +00:00
parent df1aa2fa89
commit 20584e94f4

View File

@ -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 {