Home
last modified time | relevance | path

Searched refs:force_hostname (Results 1 – 2 of 2) sorted by relevance

/external/curl/tests/libtest/
Dsethostname.c32 const char *force_hostname = getenv("CURL_GETHOSTNAME"); in gethostname() local
33 if(force_hostname) { in gethostname()
34 strncpy(name, force_hostname, namelen); in gethostname()
/external/curl/lib/
Dcurl_gethostname.c67 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()