summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorSamba Release Account <samba-bugs@samba.org>1997-06-27 00:26:59 +0000
committerSamba Release Account <samba-bugs@samba.org>1997-06-27 00:26:59 +0000
commit9e37076f2b8514a010008db44def4355e52379c2 (patch)
tree479f9848ff20c704e12b8a463cea629e51ab39e1 /source3/lib
parent94818add6c652c61d424dcb9e12f220dde05ddcf (diff)
downloadsamba-9e37076f2b8514a010008db44def4355e52379c2.tar.gz
samba-9e37076f2b8514a010008db44def4355e52379c2.tar.bz2
samba-9e37076f2b8514a010008db44def4355e52379c2.zip
shmem.c: Changed debug to higher level
uid.c: Stop smbrun from deleting device files. util.c: Added EAGAIN to known error list. Jeremy (jallison@whistle.com) (This used to be commit c07db8d8e7e4a421501a08efe999e9ccd7337855)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/util.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c
index 610f9f46a5..def84bf5ae 100644
--- a/source3/lib/util.c
+++ b/source3/lib/util.c
@@ -2912,7 +2912,8 @@ connect_again:
goto connect_again;
}
- if (ret < 0 && (errno == EINPROGRESS || errno == EALREADY)) {
+ if (ret < 0 && (errno == EINPROGRESS || errno == EALREADY ||
+ errno == EAGAIN)) {
DEBUG(1,("timeout connecting to %s:%d\n",inet_ntoa(*addr),port));
close(res);
return -1;