From cbb4369808229180449152401459f896d390a083 Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Tue, 23 Feb 2010 12:46:19 +0100 Subject: Do not schedule enumeration after a cleanup --- src/providers/ldap/ldap_id_cleanup.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/providers/ldap/ldap_id_cleanup.c') diff --git a/src/providers/ldap/ldap_id_cleanup.c b/src/providers/ldap/ldap_id_cleanup.c index f3fb4443..43b2db79 100644 --- a/src/providers/ldap/ldap_id_cleanup.c +++ b/src/providers/ldap/ldap_id_cleanup.c @@ -93,7 +93,7 @@ static void ldap_id_cleanup_timeout(struct tevent_context *ev, DEBUG(1, ("Cleanup timed out! Timeout too small? (%ds)!\n", delay)); tv = tevent_timeval_current_ofs(delay, 0); - ldap_id_enumerate_set_timer(ctx, tv); + ldap_id_cleanup_set_timer(ctx, tv); talloc_zfree(req); } @@ -117,7 +117,7 @@ static void ldap_id_cleanup_reschedule(struct tevent_req *req) delay = dp_opt_get_int(ctx->opts->basic, SDAP_CACHE_PURGE_TIMEOUT); tv = tevent_timeval_add(&tv, delay, 0); - ldap_id_enumerate_set_timer(ctx, tv); + ldap_id_cleanup_set_timer(ctx, tv); } -- cgit