Bug fix : msiing SLAPD_GLOBAL

This commit is contained in:
Sang Seok Lim 2004-10-02 01:01:00 +00:00
parent bbe986b94e
commit 258d0d3da2

View 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--;