Searched refs:num_addrs (Results 1 – 1 of 1) sorted by relevance
408 const int num_addrs = num_addresses(*addr); in Curl_shuffle_addr() local410 if(num_addrs > 1) { in Curl_shuffle_addr()412 infof(data, "Shuffling %i addresses", num_addrs); in Curl_shuffle_addr()414 nodes = malloc(num_addrs*sizeof(*nodes)); in Curl_shuffle_addr()418 const size_t rnd_size = num_addrs * sizeof(*rnd); in Curl_shuffle_addr()422 for(i = 1; i < num_addrs; i++) { in Curl_shuffle_addr()431 for(i = num_addrs - 1; i > 0; i--) { in Curl_shuffle_addr()438 for(i = 1; i < num_addrs; i++) { in Curl_shuffle_addr()442 nodes[num_addrs-1]->ai_next = NULL; in Curl_shuffle_addr()
Completed in 5 milliseconds