We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9f266ae commit 7d048dfCopy full SHA for 7d048df
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;
0 commit comments