Searched refs:dns_req (Results 1 - 1 of 1) sorted by relevance

/freebsd-12-stable/crypto/heimdal/lib/roken/
H A Droken_gethostby.c42 static char *dns_req; variable
67 if(dns_req)
68 free(dns_req);
69 dns_req = NULL;
74 if (asprintf(&dns_req, "http://%s:%d%s", dns_host, dns_port, dns_path) < 0)
80 asprintf(&dns_req, "%s", dns_path);
150 if (asprintf(&request, "GET %s?%s HTTP/1.0\r\n\r\n", dns_req, hostname) < 0)

Completed in 112 milliseconds