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/lib/util_sock.c | |
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/lib/util_sock.c')
-rw-r--r-- | source3/lib/util_sock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/util_sock.c b/source3/lib/util_sock.c index 782f5f3f73..a275ddabb9 100644 --- a/source3/lib/util_sock.c +++ b/source3/lib/util_sock.c @@ -740,7 +740,7 @@ int open_socket_out(int type, struct in_addr *addr, int port ,int timeout) /* Some systems return EAGAIN when they mean EINPROGRESS */ if (ret < 0 && (errno == EINPROGRESS || errno == EALREADY || errno == EAGAIN) && (connect_loop < timeout) ) { - msleep(connect_loop); + smb_msleep(connect_loop); connect_loop += increment; if (increment < 250) { /* After 8 rounds we end up at a max of 255 msec */ |