diff options
author | Gerald Carter <jerry@samba.org> | 2004-07-08 12:15:57 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2004-07-08 12:15:57 +0000 |
commit | 57a8e564833c9f8c3bdc6a84a981f0aeb6423128 (patch) | |
tree | 92e85730c099af7a96c4d1c0b76090f3f4cb6e32 /source | |
parent | 0cf550c32aa0018ad834fc2d3cd90d9b2b146621 (diff) | |
download | samba-57a8e564833c9f8c3bdc6a84a981f0aeb6423128.tar.gz samba-57a8e564833c9f8c3bdc6a84a981f0aeb6423128.tar.xz samba-57a8e564833c9f8c3bdc6a84a981f0aeb6423128.zip |
r1395: important merge from 3.0 before rc1
Diffstat (limited to 'source')
-rw-r--r-- | source/lib/smbldap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lib/smbldap.c b/source/lib/smbldap.c index d058613f004..f07187c68a0 100644 --- a/source/lib/smbldap.c +++ b/source/lib/smbldap.c @@ -938,7 +938,7 @@ int smbldap_search(struct smbldap_state *ldap_state, ZERO_STRUCT(tval); GetTimeOfDay(&tval); - tdiff = usec_time_diff(&tval, &ldap_state->last_rebind.tv_sec); + tdiff = usec_time_diff(&tval, &ldap_state->last_rebind); tdiff /= 1000; /* Convert to milliseconds. */ sleep_time = lp_ldap_replication_sleep()-(int)tdiff; |