diff options
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; |