diff options
Diffstat (limited to 'source3/client/client.c')
-rw-r--r-- | source3/client/client.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/client/client.c b/source3/client/client.c index 6bd94be756..cc178967a1 100644 --- a/source3/client/client.c +++ b/source3/client/client.c @@ -2956,7 +2956,7 @@ static BOOL send_session_request(char *inbuf,char *outbuf) putip((char *)&dest_ip,inbuf+4); close_sockets(); - Client = open_socket_out(SOCK_STREAM, &dest_ip, port); + Client = open_socket_out(SOCK_STREAM, &dest_ip, port, LONG_CONNECT_TIMEOUT); if (Client == -1) return False; @@ -4025,7 +4025,7 @@ static BOOL open_sockets(int port ) } } - Client = open_socket_out(SOCK_STREAM, &dest_ip, port); + Client = open_socket_out(SOCK_STREAM, &dest_ip, port, LONG_CONNECT_TIMEOUT); if (Client == -1) return False; |