summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:51:24 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:51:24 +0000
commit93274b8d888dea1cf8a855029800b808c6244605 (patch)
tree63edcf3e017aae29a9fcbf9a3c29557d5f2f3792
parentb98f285980c3c2701539e196993ead268141aaeb (diff)
Minor fixes
Author: jgg Date: 1998-11-11 07:30:54 GMT Minor fixes
-rw-r--r--apt-pkg/acquire-method.cc6
-rw-r--r--apt-pkg/acquire.cc4
-rw-r--r--test/scratch.cc2
3 files changed, 6 insertions, 6 deletions
diff --git a/apt-pkg/acquire-method.cc b/apt-pkg/acquire-method.cc
index 3ad636b81..706222c40 100644
--- a/apt-pkg/acquire-method.cc
+++ b/apt-pkg/acquire-method.cc
@@ -1,6 +1,6 @@
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: acquire-method.cc,v 1.6 1998/11/11 06:54:15 jgg Exp $
+// $Id: acquire-method.cc,v 1.7 1998/11/11 07:30:54 jgg Exp $
/* ######################################################################
Acquire Method
@@ -334,8 +334,8 @@ void pkgAcqMethod::Status(const char *Format,...)
// AcqMethod::FetchResult::FetchResult - Constructor /*{{{*/
// ---------------------------------------------------------------------
/* */
-pkgAcqMethod::FetchResult::FetchResult() : LastModified(0),
- IMSHit(false), Size(0)
+pkgAcqMethod::FetchResult::FetchResult() : LastModified(0),
+ IMSHit(false), Size(0), ResumePoint(0)
{
}
/*}}}*/
diff --git a/apt-pkg/acquire.cc b/apt-pkg/acquire.cc
index ccc28a3f7..8493691ca 100644
--- a/apt-pkg/acquire.cc
+++ b/apt-pkg/acquire.cc
@@ -1,6 +1,6 @@
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: acquire.cc,v 1.11 1998/11/11 06:54:16 jgg Exp $
+// $Id: acquire.cc,v 1.12 1998/11/11 07:30:55 jgg Exp $
/* ######################################################################
Acquire - File Acquiration
@@ -636,7 +636,7 @@ void pkgAcquireStatus::Stop()
// ---------------------------------------------------------------------
/* This is used to get accurate final transfer rate reporting. */
void pkgAcquireStatus::Fetched(unsigned long Size,unsigned long Resume)
-{
+{
FetchedBytes += Size - Resume;
}
/*}}}*/
diff --git a/test/scratch.cc b/test/scratch.cc
index c9ddc2ea4..74c976700 100644
--- a/test/scratch.cc
+++ b/test/scratch.cc
@@ -103,7 +103,7 @@ void AcqTextStatus::Pulse(pkgAcquire *Owner)
enum {Long = 0,Medium,Short} Mode = Long;
- ScreenWidth = 140;
+ ScreenWidth = 78;
char Buffer[300];
char *End = Buffer + sizeof(Buffer);
char *S = Buffer;