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:
@@ -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)));
|
||||
|
||||
Reference in New Issue
Block a user