]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-ldbm/dbcache.c
Preliminary ldapAdd support
[openldap] / servers / slapd / back-ldbm / dbcache.c
index 93bd7ced40c4aef5e7a750cc47718544488662a3..74e655c14ed6e2c3de548e554648b15f49d3baf5 100644 (file)
@@ -2,7 +2,7 @@
 /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *
- * Copyright 1998-2004 The OpenLDAP Foundation.
+ * Copyright 1998-2005 The OpenLDAP Foundation.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -333,7 +333,7 @@ ldbm_cache_sync_daemon(
 
                sleep( li->li_dbsyncfreq );
 
-               while (i && ldap_pvt_thread_pool_backload(&SLAPD_GLOBAL(connection_pool)) != 0) {
+               while (i && ldap_pvt_thread_pool_backload(&connection_pool) != 0) {
                        Debug( LDAP_DEBUG_TRACE, "delay syncing %s\n", li->li_directory, 0, 0 );
                        sleep(li->li_dbsyncwaitinterval);
                        i--;