From feebb59c6821b2572fbfcb46ddc8b994d6674f47 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 --- server/providers/ldap/ldap_id_cleanup.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/providers/ldap/ldap_id_cleanup.c b/server/providers/ldap/ldap_id_cleanup.c index f3fb4443..43b2db79 100644 --- a/server/providers/ldap/ldap_id_cleanup.c +++ b/server/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