From aaf4195dfb807bb7f919ceabb8b68996ebff0171 Mon Sep 17 00:00:00 2001 From: David Rose Date: Wed, 21 Oct 2009 18:38:29 +0000 Subject: [PATCH] super-mirror --- direct/src/plugin/p3dPackage.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/direct/src/plugin/p3dPackage.cxx b/direct/src/plugin/p3dPackage.cxx index 2f6cf0a7e1..def301f325 100755 --- a/direct/src/plugin/p3dPackage.cxx +++ b/direct/src/plugin/p3dPackage.cxx @@ -1047,10 +1047,10 @@ start_download(P3DPackage::DownloadType dtype, const string &urlbase, P3DInstanceManager *inst_mgr = P3DInstanceManager::get_global_ptr(); - if (is_contents_file && inst_mgr->get_verify_contents()) { - // When we're downloading the contents file with verify_contents - // true, we always go straight to the authoritative host, not even - // to the super-mirror. + if (dtype == DT_redownload_contents_file) { + // When we're redownloading the contents file after a download + // error, we always go straight to the authoritative host, not + // even to the super-mirror. } else { // In other cases, if the "super mirror" is enabled, we try that