Searched refs:hostdb_hostfile_path (Results 1 – 1 of 1) sorted by relevance
62 char hostdb_hostfile_path[PATH_NAME_MAX] = ""; variable1647 char path[sizeof(hostdb_hostfile_path)]; in backgroundEvent()1650 if (0 != strcasecmp(hostdb_hostfile_path, path)) { in backgroundEvent()1651 …Debug("hostdb", "Update host file '%s' -> '%s'", (*hostdb_hostfile_path ? hostdb_hostfile_path : "… in backgroundEvent()1656 memcpy(hostdb_hostfile_path, path, sizeof(hostdb_hostfile_path)); in backgroundEvent()1658 hostdb_hostfile_path[0] = 0; // mark as not there in backgroundEvent()1663 if (*hostdb_hostfile_path) { in backgroundEvent()1664 if (0 == stat(hostdb_hostfile_path, &info)) { in backgroundEvent()1669 Debug("hostdb", "Failed to stat host file '%s'", hostdb_hostfile_path); in backgroundEvent()1675 ParseHostFile(hostdb_hostfile_path, hostdb_hostfile_check_interval); in backgroundEvent()