Browse Source

Fix compilation warning in apt-pkg/acquire.cc. New experimental release

debian/1.8.y
Luca Bruno 13 years ago
parent
commit
2ec1674d7d
  1. 2
      apt-pkg/acquire.cc
  2. 8
      debian/changelog

2
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 +

8
debian/changelog

@ -1,3 +1,11 @@
apt (0.7.17~exp1) UNRELEASED; urgency=low
[ Luca Bruno ]
* apt-pkg/acquire.cc:
- fix a compilation warning
-- Luca Bruno <lethalman88@gmail.com> Sat, 11 Oct 2008 09:17:46 +0200
apt (0.7.16) unstable; urgency=low
[ Luca Bruno ]

Loading…
Cancel
Save