summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/smbldap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/smbldap.c b/source3/lib/smbldap.c
index 5b9ec1d55b..cffc9389d7 100644
--- a/source3/lib/smbldap.c
+++ b/source3/lib/smbldap.c
@@ -1579,7 +1579,7 @@ static void smbldap_idle_fn(struct event_context *event_ctx,
state->idle_event = event_add_timed(
event_ctx, NULL,
- timeval_current_ofs(SMBLDAP_IDLE_TIME, 0),
+ timeval_add(now, SMBLDAP_IDLE_TIME, 0),
"smbldap_idle_fn", smbldap_idle_fn,
private_data);
return;