sl_busy is used as a boolean so just set it, don't increment it

This commit is contained in:
Howard Chu 2011-03-17 17:19:25 +00:00
parent a9701ef5a0
commit 0ae659ad87

View file

@ -2098,7 +2098,7 @@ slap_listener_activate(
Debug( LDAP_DEBUG_TRACE, "slap_listener_activate(%d): %s\n",
sl->sl_sd, sl->sl_busy ? "busy" : "", 0 );
sl->sl_busy++;
sl->sl_busy = 1;
rc = ldap_pvt_thread_pool_submit( &connection_pool,
slap_listener_thread, (void *) sl );