Home
last modified time | relevance | path

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

/third_party/node/deps/cares/src/lib/
Dares_parse_ns_reply.c44 int nameservers_num; in ares_parse_ns_reply() local
82 nameservers_num = 0; in ares_parse_ns_reply()
120 nameservers[nameservers_num] = ares_malloc(strlen(rr_data)+1); in ares_parse_ns_reply()
122 if (nameservers[nameservers_num]==NULL) in ares_parse_ns_reply()
129 strcpy(nameservers[nameservers_num],rr_data); in ares_parse_ns_reply()
132 nameservers_num++; in ares_parse_ns_reply()
145 if ( status == ARES_SUCCESS && nameservers_num == 0 ) in ares_parse_ns_reply()
152 nameservers[nameservers_num] = NULL; in ares_parse_ns_reply()
172 for ( i = 0; i < nameservers_num; i++ ) in ares_parse_ns_reply()