1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-14 20:23:54 +03:00

- fix client for pathworks 4 access

- fix "connection already connected" bug in open_socket_out()
This commit is contained in:
Andrew Tridgell
-
parent 0e37688745
commit fcce452557
2 changed files with 10 additions and 3 deletions

View File

@@ -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)));