Home
last modified time | relevance | path

Searched refs:nameservers_num (Results 1 – 1 of 1) sorted by relevance

/external/c-ares/
Dares_parse_ns_reply.c55 int nameservers_num; in ares_parse_ns_reply() local
93 nameservers_num = 0; in ares_parse_ns_reply()
125 nameservers[nameservers_num] = malloc(strlen(rr_data)+1); in ares_parse_ns_reply()
127 if (nameservers[nameservers_num]==NULL) in ares_parse_ns_reply()
134 strcpy(nameservers[nameservers_num],rr_data); in ares_parse_ns_reply()
137 nameservers_num++; in ares_parse_ns_reply()
150 if ( status == ARES_SUCCESS && nameservers_num == 0 ) in ares_parse_ns_reply()
157 nameservers[nameservers_num] = NULL; in ares_parse_ns_reply()
177 for ( i = 0; i < nameservers_num; i++ ) in ares_parse_ns_reply()