summaryrefslogtreecommitdiffstats
path: root/source/lib/smbldap.c
diff options
context:
space:
mode:
authorJim McDonough <jmcd@samba.org>2004-02-23 02:54:03 +0000
committerJim McDonough <jmcd@samba.org>2004-02-23 02:54:03 +0000
commit4319df7fdc2d878c509381923cc1db4d731620ba (patch)
tree7fbba4fa3a4fc4d414a2459d2d4fffc95db9145b /source/lib/smbldap.c
parent003318939f7e476f5f2a5f345e8a81a228fc89a7 (diff)
downloadsamba-4319df7fdc2d878c509381923cc1db4d731620ba.tar.gz
samba-4319df7fdc2d878c509381923cc1db4d731620ba.tar.xz
samba-4319df7fdc2d878c509381923cc1db4d731620ba.zip
Janitor for tpot...bugzilla #1098, msleep already exists on aix
Diffstat (limited to 'source/lib/smbldap.c')
-rw-r--r--source/lib/smbldap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/lib/smbldap.c b/source/lib/smbldap.c
index e122acd188d..77356150bca 100644
--- a/source/lib/smbldap.c
+++ b/source/lib/smbldap.c
@@ -890,7 +890,7 @@ int smbldap_retry_open(struct smbldap_state *ldap_state, int *attempts)
*/
DEBUG(3, ("Sleeping for %u milliseconds before reconnecting\n",
sleep_time));
- msleep(sleep_time);
+ smb_msleep(sleep_time);
}
(*attempts)++;
@@ -937,7 +937,7 @@ int smbldap_search(struct smbldap_state *ldap_state,
if (sleep_time > 0) {
/* we wait for the LDAP replication */
DEBUG(5,("smbldap_search: waiting %d milliseconds for LDAP replication.\n",sleep_time));
- msleep(sleep_time);
+ smb_msleep(sleep_time);
DEBUG(5,("smbldap_search: go on!\n"));
ZERO_STRUCT(ldap_state->last_rebind);
}