From: Howard Chu Date: Thu, 17 Mar 2011 17:19:25 +0000 (+0000) Subject: sl_busy is used as a boolean so just set it, don't increment it X-Git-Tag: MIGRATION_CVS2GIT~13 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0ae659ad87c64bef938f729e87573ff3ce04bd28;p=openldap sl_busy is used as a boolean so just set it, don't increment it --- diff --git a/servers/slapd/daemon.c b/servers/slapd/daemon.c index 2a7a48eaf8..df6d0962d9 100644 --- a/servers/slapd/daemon.c +++ b/servers/slapd/daemon.c @@ -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 );