git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af3308c
)
r21785: Avoid an unnecessary gettimeofday() call
author
Volker Lendecke
<vlendec@samba.org>
Sun, 11 Mar 2007 18:32:26 +0000
(18:32 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 17:18:34 +0000
(12:18 -0500)
Volker
source/lib/smbldap.c
patch
|
blob
|
history
diff --git
a/source/lib/smbldap.c
b/source/lib/smbldap.c
index 5b9ec1d55bb0751f61ad61cab0566a31cb8fafb7..cffc9389d7da3c13b84acbe1558ab9aa4da3b7f0 100644
(file)
--- a/
source/lib/smbldap.c
+++ b/
source/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;