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:
committed by
Gerald (Jerry) Carter
parent
af3308ce5a
commit
a0af6ff736
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user