Fall back to data_files if http://mdreplay or download cache are not available.

This commit is contained in:
Eric Harding committed 2019-02-05 12:34:11 -05:00
1 parent cf432a82a0
commit e234a76199
6 files changed
+38 -11

No files matched your search

+1
View File
@@ -65,6 +65,7 @@ HTTPStream::HTTPStream(const std::string& host, const std::string& path, const s
HTTPStream::~HTTPStream() { }
// returns true if file was downloaded
bool download_file_if_newer(const string& host, const string& path, const string& destination) {
struct stat st = boost::initialized_value;
stat(destination.c_str(), &st);