Skip to content

Commit 7d048df

Browse files
committed
Fix: Do not check duplicated open_timeout
1 parent 9f266ae commit 7d048df

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ext/socket/ipsocket.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -633,7 +633,7 @@ init_fast_fallback_inetsock_internal(VALUE v)
633633
unsigned int t;
634634
if (!NIL_P(open_timeout)) {
635635
t = rsock_value_timeout_to_msec(open_timeout);
636-
} else if (!NIL_P(open_timeout)) {
636+
} else if (!NIL_P(resolv_timeout)) {
637637
t = rsock_value_timeout_to_msec(resolv_timeout);
638638
} else {
639639
t = 0;

0 commit comments

Comments
 (0)