add_addrinfo_to_list
err = add_addrinfo_to_list (lp, a, freefn, a);
if (add_addrinfo_to_list (d->lp, &x->ai, free, x) != 0) {