Searched refs:force_hostname (Results 1 – 2 of 2) sorted by relevance
32 const char *force_hostname = getenv("CURL_GETHOSTNAME"); in gethostname() local33 if(force_hostname) { in gethostname()34 strncpy(name, force_hostname, namelen); in gethostname()
67 const char *force_hostname = getenv("CURL_GETHOSTNAME"); in Curl_gethostname()68 if(force_hostname) { in Curl_gethostname()69 strncpy(name, force_hostname, namelen); in Curl_gethostname()