fd_set set;
fr_time_delta_t our_wait_time;
rc_request_t *request;
- fr_packet_t *reply, *packet;
- volatile int max_fd;
+ fr_packet_t *reply, *packet;
+ int max_fd;
#ifdef STATIC_ANALYZER
if (!secret) fr_exit_now(1);
.path = NULL,
.filename = NULL,
- .async = true,
+ .async = false,
};
fr_exit_now(1);
}
+ if (fr_bio_fd_connect(bio) < 0) {
+ ERROR("Failed connecting socket: %s", fr_strerror());
+ fr_exit_now(1);
+ }
+
fd_info = fr_bio_fd_info(bio);
fr_assert(fd_info != NULL);