summaryrefslogtreecommitdiff
path: root/apt-pkg/acquire-item.cc
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2011-04-04 14:11:40 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2011-04-04 14:11:40 +0200
commit8d39b60d85b8123758f310e4a279c71879e13a06 (patch)
tree762cc9380a4697608ace5f7b70e57d56566f09b0 /apt-pkg/acquire-item.cc
parentb46fb8ff65bf345e51b11946783b450f6fa8f0a8 (diff)
parent3a1f49c42aae17c23d52486db21fb7c05734dbd2 (diff)
merged from debian-sid
Diffstat (limited to 'apt-pkg/acquire-item.cc')
-rw-r--r--apt-pkg/acquire-item.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/acquire-item.cc b/apt-pkg/acquire-item.cc
index 2ecb8ed6e..184802ca3 100644
--- a/apt-pkg/acquire-item.cc
+++ b/apt-pkg/acquire-item.cc
@@ -841,7 +841,7 @@ string pkgAcqIndex::Custom600Headers()
if (ShortDesc().find("Translation") != 0)
msg += "\nFail-Ignore: true";
struct stat Buf;
- if (stat(Final.c_str(),&Buf) != 0)
+ if (stat(Final.c_str(),&Buf) == 0)
msg += "\nLast-Modified: " + TimeRFC1123(Buf.st_mtime);
return msg;