diff options
author | Tim Potter <tpot@samba.org> | 2004-02-20 22:42:39 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2004-02-20 22:42:39 +0000 |
commit | 9138aa18eb66d2c54cd0736c5e25800868c274f5 (patch) | |
tree | 7e149330c285b88f0e6f6b8d603cfd27983d06f9 /source3/libsmb | |
parent | db3d07c2f5c0764bbf55c0a11a85ae2e52dc481f (diff) | |
download | samba-9138aa18eb66d2c54cd0736c5e25800868c274f5.tar.gz samba-9138aa18eb66d2c54cd0736c5e25800868c274f5.tar.bz2 samba-9138aa18eb66d2c54cd0736c5e25800868c274f5.zip |
AIX has already has a function called msleep(). Bugzilla #1098.
(This used to be commit 90ae3667448be9b3445f401bcd9d7e3eba374215)
Diffstat (limited to 'source3/libsmb')
-rw-r--r-- | source3/libsmb/clilist.c | 2 | ||||
-rw-r--r-- | source3/libsmb/clirap.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/source3/libsmb/clilist.c b/source3/libsmb/clilist.c index 2c1831ae99..ab157d48e9 100644 --- a/source3/libsmb/clilist.c +++ b/source3/libsmb/clilist.c @@ -232,7 +232,7 @@ int cli_list_new(struct cli_state *cli,const char *Mask,uint16 attribute, cli_dos_error(cli, &eclass, &ecode); if (eclass != ERRSRV || ecode != ERRerror) break; - msleep(100); + smb_msleep(100); continue; } diff --git a/source3/libsmb/clirap.c b/source3/libsmb/clirap.c index 36bc403e0b..e403a78cdd 100644 --- a/source3/libsmb/clirap.c +++ b/source3/libsmb/clirap.c @@ -408,7 +408,7 @@ BOOL cli_qpathinfo(struct cli_state *cli, const char *fname, uint32 ecode; cli_dos_error(cli, &eclass, &ecode); if (eclass != ERRSRV || ecode != ERRerror) break; - msleep(100); + smb_msleep(100); } } while (count-- && ret==False); @@ -715,7 +715,7 @@ NTSTATUS cli_qpathinfo_alt_name(struct cli_state *cli, const char *fname, fstrin uint32 ecode; cli_dos_error(cli, &eclass, &ecode); if (eclass != ERRSRV || ecode != ERRerror) break; - msleep(100); + smb_msleep(100); } } while (count-- && ret==False); |