Skip to content

Commit

Permalink
Fix initialization of struct wait_fast_fallback_arg::cancelled
Browse files Browse the repository at this point in the history
  • Loading branch information
nobu committed Nov 25, 2024
1 parent a355f7d commit 4d8c793
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/socket/ipsocket.c
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,7 @@ init_fast_fallback_inetsock_internal(VALUE v)
arg->getaddrinfo_shared->connection_attempt_fds = arg->connection_attempt_fds;
arg->getaddrinfo_shared->connection_attempt_fds_size = arg->connection_attempt_fds_size;
arg->getaddrinfo_shared->cancelled = false;
wait_arg.cancelled = false;
wait_arg.cancelled = &arg->getaddrinfo_shared->cancelled;

struct timeval resolution_delay_storage;
struct timeval *resolution_delay_expires_at = NULL;
Expand Down

0 comments on commit 4d8c793

Please sign in to comment.