summaryrefslogtreecommitdiff
path: root/source3/lib/util_sock.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
commit24df38dbc6648261f86adcffd664ffc43f8f3346 (patch)
treeb14e77a084a3ef92ccdcc6441e65c4849f2af407 /source3/lib/util_sock.c
parent401959b7d7b3a29dbd1734318e5f6eb1248859f8 (diff)
downloadsamba-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/util_sock.c')
-rw-r--r--source3/lib/util_sock.c2
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 */