aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Richard Brown <rbrown@exherbo.org> 2007-01-11 09:44:49 +0000
committerAvatar Richard Brown <rbrown@exherbo.org> 2007-01-11 09:44:49 +0000
commit1a91aa1959a46b8a9719aba9a9048a31daf05329 (patch)
treeb1f324b0bf520b5a690b8e6fabc388e57c086549
parentba2c674ae1f66cd9389eca1b73a74d72a0c8753f (diff)
downloadpaludis-1a91aa1959a46b8a9719aba9a9048a31daf05329.tar.gz
paludis-1a91aa1959a46b8a9719aba9a9048a31daf05329.tar.xz
Fix metadata caching of dtd.
-rw-r--r--paludis/qa/metadata_check.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/paludis/qa/metadata_check.cc b/paludis/qa/metadata_check.cc
index 0b96227..36c90fc 100644
--- a/paludis/qa/metadata_check.cc
+++ b/paludis/qa/metadata_check.cc
@@ -65,7 +65,7 @@ MetadataCheck::operator() (const FSEntry & f) const
throw ConfigurationError("~/.qualudis/cache/ does not exist and cannot be created");
dtd /= "metadata.dtd";
- if (! dtd.exists() || dtd.mtime() > (std::time(0) + (24 * 60 * 60)))
+ if (! dtd.exists() || dtd.mtime() < (std::time(0) - (24 * 60 * 60)))
{
PStream wget("wget -O- http://www.gentoo.org/dtd/metadata.dtd");