Lines Matching refs:fullhost
429 char *cp, *fullhost, newname[NI_MAXHOST]; in resolve_canonicalize() local
474 fullhost = xstrdup(*hostp); in resolve_canonicalize()
475 if ((addrs = resolve_host(fullhost, port, 0, in resolve_canonicalize()
478 free(fullhost); in resolve_canonicalize()
497 xasprintf(&fullhost, "%s.%s.", *hostp, in resolve_canonicalize()
499 debug3_f("attempting \"%s\" => \"%s\"", *hostp, fullhost); in resolve_canonicalize()
500 if ((addrs = resolve_host(fullhost, port, 0, in resolve_canonicalize()
502 free(fullhost); in resolve_canonicalize()
507 fullhost[strlen(fullhost) - 1] = '\0'; in resolve_canonicalize()
509 if (!check_follow_cname(direct, &fullhost, newname)) { in resolve_canonicalize()
511 *hostp, fullhost); in resolve_canonicalize()
514 *hostp = fullhost; in resolve_canonicalize()