diff options
author | Andrew Tridgell <tridge@samba.org> | 1996-08-22 16:09:27 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1996-08-22 16:09:27 +0000 |
commit | 69a458ba2c4fbd3e880b724dd07a7b1e32cdb4dc (patch) | |
tree | 157c37493438f2e7b1ce37a6032f5e0590a6b060 /source3/lib | |
parent | 86c72d5e88fffe18f85ee97e8c2bd14ec277d0f1 (diff) | |
download | samba-69a458ba2c4fbd3e880b724dd07a7b1e32cdb4dc.tar.gz samba-69a458ba2c4fbd3e880b724dd07a7b1e32cdb4dc.tar.bz2 samba-69a458ba2c4fbd3e880b724dd07a7b1e32cdb4dc.zip |
- fix client for pathworks 4 access
- fix "connection already connected" bug in open_socket_out()
(This used to be commit fcce452557a6f5cfc46972617ed6932bb7fbeb95)
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/util.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c index e13a4c37e8..31ad3da31c 100644 --- a/source3/lib/util.c +++ b/source3/lib/util.c @@ -2888,6 +2888,13 @@ connect_again: return -1; } +#ifdef EISCONN + if (ret < 0 && errno == EISCONN) { + errno = 0; + ret = 0; + } +#endif + if (ret < 0) { DEBUG(2,("error connecting to %s:%d (%s)\n", inet_ntoa(*addr),port,strerror(errno))); |