diff options
author | Andrew Bartlett <abartlet@samba.org> | 2003-12-25 23:11:07 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2003-12-25 23:11:07 +0000 |
commit | 38b17cb1531806f177ff828944d78e887b066a05 (patch) | |
tree | 994ad04d43ea0551ac4839c2eb2f73b4e4399319 /source3/lib | |
parent | 3a1b189a9f3d2dab1fcadc5277546baa2f88cdfa (diff) | |
download | samba-38b17cb1531806f177ff828944d78e887b066a05.tar.gz samba-38b17cb1531806f177ff828944d78e887b066a05.tar.bz2 samba-38b17cb1531806f177ff828944d78e887b066a05.zip |
ldap rebind sleep -> ldap replication sleep
While writing documentation for metze's patch, it became clear that this is a
better name.
Andrew Bartlett
(This used to be commit 6f828ff3d3622c56ee732b976e7ab90b7897a8d3)
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/smbldap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/smbldap.c b/source3/lib/smbldap.c index d1117046c3..d4cf378e49 100644 --- a/source3/lib/smbldap.c +++ b/source3/lib/smbldap.c @@ -926,7 +926,7 @@ int smbldap_search(struct smbldap_state *ldap_state, tdiff = 1000000 *(tval.tv_sec - ldap_state->last_rebind.tv_sec) + (tval.tv_usec - ldap_state->last_rebind.tv_usec); - sleep_time = ((1000*lp_ldap_rebind_sleep())-tdiff)/1000; + sleep_time = ((1000*lp_ldap_replication_sleep())-tdiff)/1000; if (sleep_time > 0) { /* we wait for the LDAP replication */ |