File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -196,9 +196,9 @@ private boolean connect() throws IOException {
196
196
if (this .connTimeout_ > 0 && this .connectTimeout_ == 0 )
197
197
socket_ .connect (new InetSocketAddress (hostName_ , port_ ), connTimeout_ );
198
198
else if (this .connTimeout_ > 0 && this .connectTimeout_ > 0 )
199
- socket_ .connect (new InetSocketAddress (hostName_ , port_ ), connTimeout_ );
199
+ socket_ .connect (new InetSocketAddress (hostName_ , port_ ), connectTimeout_ );
200
200
else if (this .connTimeout_ == 0 && this .connectTimeout_ > 0 )
201
- socket_ .connect (new InetSocketAddress (hostName_ , port_ ), connTimeout_ );
201
+ socket_ .connect (new InetSocketAddress (hostName_ , port_ ), connectTimeout_ );
202
202
else if (this .connTimeout_ == 0 && this .connectTimeout_ == 0 )
203
203
socket_ .connect (new InetSocketAddress (hostName_ , port_ ), 3000 );
204
204
} catch (IOException ex ) {
You can’t perform that action at this time.
0 commit comments