Searched refs:num_srvrs (Results 1 – 1 of 1) sorted by relevance
147 int num_srvrs = 0; in ares_set_servers() local163 num_srvrs++; in ares_set_servers()166 if (num_srvrs > 0) in ares_set_servers()169 channel->servers = ares_malloc(num_srvrs * sizeof(struct server_state)); in ares_set_servers()174 channel->nservers = num_srvrs; in ares_set_servers()199 int num_srvrs = 0; in ares_set_servers_ports() local215 num_srvrs++; in ares_set_servers_ports()218 if (num_srvrs > 0) in ares_set_servers_ports()221 channel->servers = ares_malloc(num_srvrs * sizeof(struct server_state)); in ares_set_servers_ports()226 channel->nservers = num_srvrs; in ares_set_servers_ports()