We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 305f042 commit 42d66b8Copy full SHA for 42d66b8
1 file changed
ext/socket/ipsocket.c
@@ -633,7 +633,7 @@ init_fast_fallback_inetsock_internal(VALUE v)
633
unsigned int t;
634
if (!NIL_P(open_timeout)) {
635
t = rsock_value_timeout_to_msec(open_timeout);
636
- } else if (!NIL_P(open_timeout)) {
+ } else if (!NIL_P(resolv_timeout)) {
637
t = rsock_value_timeout_to_msec(resolv_timeout);
638
} else {
639
t = 0;
@@ -1340,7 +1340,7 @@ rsock_init_inetsock(
1340
1341
1342
1343
1344
1345
1346
0 commit comments