svn commit: samba r21785 - in branches/SAMBA_3_0/source/lib: .
vlendec at samba.org
vlendec at samba.org
Sun Mar 11 18:32:26 GMT 2007
Author: vlendec
Date: 2007-03-11 18:32:26 +0000 (Sun, 11 Mar 2007)
New Revision: 21785
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=21785
Log:
Avoid an unnecessary gettimeofday() call
Volker
Modified:
branches/SAMBA_3_0/source/lib/smbldap.c
Changeset:
Modified: branches/SAMBA_3_0/source/lib/smbldap.c
===================================================================
--- branches/SAMBA_3_0/source/lib/smbldap.c 2007-03-11 16:49:16 UTC (rev 21784)
+++ branches/SAMBA_3_0/source/lib/smbldap.c 2007-03-11 18:32:26 UTC (rev 21785)
@@ -1579,7 +1579,7 @@
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;
More information about the samba-cvs
mailing list