Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c089a52 commit aa797a0Copy full SHA for aa797a0
ext/socket/ipsocket.c
@@ -572,7 +572,6 @@ init_fast_fallback_inetsock_internal(VALUE v)
572
struct wait_fast_fallback_arg wait_arg;
573
struct timeval *ends_at = NULL;
574
struct timeval delay = (struct timeval){ -1, -1 };
575
- wait_arg.nfds = 0;
576
wait_arg.writefds = NULL;
577
wait_arg.status = 0;
578
@@ -916,6 +915,7 @@ init_fast_fallback_inetsock_internal(VALUE v)
916
915
wait_arg.delay = NULL;
917
}
918
+ wait_arg.nfds = 0;
919
if (arg->connection_attempt_fds_size) {
920
FD_ZERO(wait_arg.writefds);
921
int n = 0;
0 commit comments