summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 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);
}