Searched refs:aliascnt (Results 1 – 1 of 1) sorted by relevance
56 int aliascnt = 0; in ares_parse_ptr_reply() local125 aliases[aliascnt] = malloc((strlen(rr_data)+1) * sizeof(char)); in ares_parse_ptr_reply()126 if (!aliases[aliascnt]) in ares_parse_ptr_reply()132 strncpy(aliases[aliascnt], rr_data, strlen(rr_data)+1); in ares_parse_ptr_reply()133 aliascnt++; in ares_parse_ptr_reply()134 if (aliascnt >= alias_alloc) { in ares_parse_ptr_reply()184 hostent->h_aliases = malloc((aliascnt+1) * sizeof (char *)); in ares_parse_ptr_reply()189 for (i=0 ; i<aliascnt ; i++) in ares_parse_ptr_reply()191 hostent->h_aliases[aliascnt] = NULL; in ares_parse_ptr_reply()209 for (i=0 ; i<aliascnt ; i++) in ares_parse_ptr_reply()