]> git.sur5r.net Git - openldap/commitdiff
Bug fix : msiing SLAPD_GLOBAL
authorSang Seok Lim <slim@openldap.org>
Sat, 2 Oct 2004 01:01:00 +0000 (01:01 +0000)
committerSang Seok Lim <slim@openldap.org>
Sat, 2 Oct 2004 01:01:00 +0000 (01:01 +0000)
servers/slapd/back-ldbm/dbcache.c

index e8cce87234e3c5b952bc047e503992f510561df8..93bd7ced40c4aef5e7a750cc47718544488662a3 100644 (file)
@@ -333,7 +333,7 @@ ldbm_cache_sync_daemon(
 
                sleep( li->li_dbsyncfreq );
 
-               while (i && ldap_pvt_thread_pool_backload(&connection_pool) != 0) {
+               while (i && ldap_pvt_thread_pool_backload(&SLAPD_GLOBAL(connection_pool)) != 0) {
                        Debug( LDAP_DEBUG_TRACE, "delay syncing %s\n", li->li_directory, 0, 0 );
                        sleep(li->li_dbsyncwaitinterval);
                        i--;