summaryrefslogtreecommitdiff
path: root/apt-pkg/acquire.cc
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2008-10-25 10:29:21 +0200
committerMichael Vogt <mvo@debian.org>2008-10-25 10:29:21 +0200
commit2569ac285813e0ca36d76c03cce92cf490c63e6d (patch)
tree5f88ceae04c1192f097e1b117593e3b39febf948 /apt-pkg/acquire.cc
parentcfe0526e097983680ce7c3675bbf77f735675e9d (diff)
parentf8b1274722522826650a37f87bf9e743b5bca337 (diff)
merged from Luca Bruno
Diffstat (limited to 'apt-pkg/acquire.cc')
-rw-r--r--apt-pkg/acquire.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/acquire.cc b/apt-pkg/acquire.cc
index 6840ae120..80c2fee0f 100644
--- a/apt-pkg/acquire.cc
+++ b/apt-pkg/acquire.cc
@@ -796,7 +796,7 @@ bool pkgAcquireStatus::Pulse(pkgAcquire *Owner)
// Compute the CPS
struct timeval NewTime;
gettimeofday(&NewTime,0);
- if (NewTime.tv_sec - Time.tv_sec == 6 && NewTime.tv_usec > Time.tv_usec ||
+ if ((NewTime.tv_sec - Time.tv_sec == 6 && NewTime.tv_usec > Time.tv_usec) ||
NewTime.tv_sec - Time.tv_sec > 6)
{
double Delta = NewTime.tv_sec - Time.tv_sec +