diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2010-02-23 12:46:19 +0100 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2010-02-23 16:16:24 -0500 |
commit | cbb4369808229180449152401459f896d390a083 (patch) | |
tree | 11d8a438dbc9c6e3d5ef9310ff7d4ec8cca40b12 /src/providers/ldap | |
parent | 7343ee3d775303845e2528c676c59ef3582d6b27 (diff) | |
download | sssd-cbb4369808229180449152401459f896d390a083.tar.gz sssd-cbb4369808229180449152401459f896d390a083.tar.bz2 sssd-cbb4369808229180449152401459f896d390a083.zip |
Do not schedule enumeration after a cleanup
Diffstat (limited to 'src/providers/ldap')
-rw-r--r-- | src/providers/ldap/ldap_id_cleanup.c | 4 |
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 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); } |