mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
fix previous commit
This commit is contained in:
parent
9327af55ca
commit
a05a8972b2
@ -314,7 +314,7 @@ monitor_subsys_thread_update(
|
|||||||
bv.bv_val = buf;
|
bv.bv_val = buf;
|
||||||
ldap_pvt_thread_mutex_lock( &slapd_rq.rq_mutex );
|
ldap_pvt_thread_mutex_lock( &slapd_rq.rq_mutex );
|
||||||
i = 0;
|
i = 0;
|
||||||
LDAP_STAILQ_FOREACH( re, &slapd_rq.task_list, rnext ) {
|
LDAP_STAILQ_FOREACH( re, &slapd_rq.task_list, tnext ) {
|
||||||
bv.bv_len = snprintf( buf, sizeof( buf ), "{%d}%s(%s)",
|
bv.bv_len = snprintf( buf, sizeof( buf ), "{%d}%s(%s)",
|
||||||
i, re->tname, re->tspec );
|
i, re->tname, re->tspec );
|
||||||
if ( bv.bv_len < sizeof( buf ) ) {
|
if ( bv.bv_len < sizeof( buf ) ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user