1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-19 04:23:48 +03:00

r21785: Avoid an unnecessary gettimeofday() call

Volker
This commit is contained in:
Volker Lendecke
2007-03-11 18:32:26 +00:00
committed by Gerald (Jerry) Carter
parent af3308ce5a
commit a0af6ff736

View File

@@ -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;