Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion iocore/hostdb/HostDB.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2306,7 +2306,8 @@ ParseHostFile(const char *path, unsigned int hostdb_hostfile_check_interval)
}

// Swap the pointer
hostDB.hosts_file_ptr = parsed_hosts_file_ptr;
if (parsed_hosts_file_ptr != nullptr)
hostDB.hosts_file_ptr = parsed_hosts_file_ptr;
// Mark this one as completed, so we can allow another update to happen
HostDBFileUpdateActive = 0;
}
Expand Down