summaryrefslogtreecommitdiffstats
path: root/src/providers/ldap/ldap_id_cleanup.c
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2010-02-23 12:46:19 +0100
committerStephen Gallagher <sgallagh@redhat.com>2010-02-23 16:16:24 -0500
commitcbb4369808229180449152401459f896d390a083 (patch)
tree11d8a438dbc9c6e3d5ef9310ff7d4ec8cca40b12 /src/providers/ldap/ldap_id_cleanup.c
parent7343ee3d775303845e2528c676c59ef3582d6b27 (diff)
downloadsssd-cbb4369808229180449152401459f896d390a083.tar.gz
sssd-cbb4369808229180449152401459f896d390a083.tar.xz
sssd-cbb4369808229180449152401459f896d390a083.zip
Do not schedule enumeration after a cleanup
Diffstat (limited to 'src/providers/ldap/ldap_id_cleanup.c')
-rw-r--r--src/providers/ldap/ldap_id_cleanup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/providers/ldap/ldap_id_cleanup.c b/src/providers/ldap/ldap_id_cleanup.c
index f3fb4443c..43b2db79a 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);
}