]> git.sur5r.net Git - openldap/commitdiff
fix previous commit
authorPierangelo Masarati <ando@openldap.org>
Thu, 17 Aug 2006 16:32:11 +0000 (16:32 +0000)
committerPierangelo Masarati <ando@openldap.org>
Thu, 17 Aug 2006 16:32:11 +0000 (16:32 +0000)
servers/slapd/back-monitor/thread.c

index 6b4f7d2b32df0c342f071e473d0db6deeb784b79..47b39c82d0e475fe45f53370361a3e04c111653f 100644 (file)
@@ -314,7 +314,7 @@ monitor_subsys_thread_update(
                bv.bv_val = buf;
                ldap_pvt_thread_mutex_lock( &slapd_rq.rq_mutex );
                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)",
                                i, re->tname, re->tspec );
                        if ( bv.bv_len < sizeof( buf ) ) {