Home
last modified time | relevance | path

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

/third_party/node/deps/cares/src/lib/
Dares_getaddrinfo.c433 char *path_hosts = NULL; in file_lookup() local
437 path_hosts = ares_strdup(getenv("CARES_HOSTS")); in file_lookup()
438 if (!path_hosts) in file_lookup()
444 path_hosts = ares_strdup(hquery->channel->hosts_path); in file_lookup()
445 if (!path_hosts) in file_lookup()
449 if (!path_hosts) in file_lookup()
486 path_hosts = ares_strdup(PATH_HOSTS); in file_lookup()
487 if (!path_hosts) in file_lookup()
491 fp = fopen(path_hosts, "r"); in file_lookup()
504 DEBUGF(fprintf(stderr, "Error opening file: %s\n", path_hosts)); in file_lookup()
[all …]