Skip to content
Snippets Groups Projects
Commit 20584e94 authored by Howard Chu's avatar Howard Chu
Browse files

ITS#5370 slap_op_time mutex

parent df1aa2fa
No related branches found
No related tags found
No related merge requests found
......@@ -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 {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment