diff options
author | Eugene V. Lyubimkin <jackyf@1501-debian> | 2008-11-05 23:10:30 +0200 |
---|---|---|
committer | Eugene V. Lyubimkin <jackyf@1501-debian> | 2008-11-05 23:10:30 +0200 |
commit | 1ac90757e7d31b21fca7ddf7eb48cfc548b3ffb3 (patch) | |
tree | 883deeb538d7729b1bd7689c57f5ac9876d805a0 /apt-pkg/acquire.cc | |
parent | 40a6cfced93c564bedea27554427c91fa6eff08c (diff) | |
parent | 81c1659e78d9cae0ecdee331f16e86564adccf5d (diff) |
Merged with debian-sid.
Diffstat (limited to 'apt-pkg/acquire.cc')
-rw-r--r-- | apt-pkg/acquire.cc | 2 |
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 + |