diff options
author | Jim McDonough <jmcd@samba.org> | 2004-02-23 02:54:03 +0000 |
---|---|---|
committer | Jim McDonough <jmcd@samba.org> | 2004-02-23 02:54:03 +0000 |
commit | 24df38dbc6648261f86adcffd664ffc43f8f3346 (patch) | |
tree | b14e77a084a3ef92ccdcc6441e65c4849f2af407 /source3/lib/smbldap.c | |
parent | 401959b7d7b3a29dbd1734318e5f6eb1248859f8 (diff) | |
download | samba-24df38dbc6648261f86adcffd664ffc43f8f3346.tar.gz samba-24df38dbc6648261f86adcffd664ffc43f8f3346.tar.bz2 samba-24df38dbc6648261f86adcffd664ffc43f8f3346.zip |
Janitor for tpot...bugzilla #1098, msleep already exists on aix
(This used to be commit 4319df7fdc2d878c509381923cc1db4d731620ba)
Diffstat (limited to 'source3/lib/smbldap.c')
-rw-r--r-- | source3/lib/smbldap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/smbldap.c b/source3/lib/smbldap.c index e122acd188..77356150bc 100644 --- a/source3/lib/smbldap.c +++ b/source3/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); } |