diff options
author | Arch Librarian <arch@canonical.com> | 2004-09-20 16:50:54 +0000 |
---|---|---|
committer | Arch Librarian <arch@canonical.com> | 2004-09-20 16:50:54 +0000 |
commit | 6f4f200a22304be5352872d6e511f178434ce335 (patch) | |
tree | c57442b3fbc5dc525d8d61a39201e79d842ac3f3 /apt-pkg/contrib | |
parent | b35d2f5fa0e797bf7062a1a7448a5d54bb396071 (diff) | |
download | apt-6f4f200a22304be5352872d6e511f178434ce335.tar.gz |
Progress and combined cache generator
Author: jgg
Date: 1998-07-26 04:51:45 GMT
Progress and combined cache generator
Diffstat (limited to 'apt-pkg/contrib')
-rw-r--r-- | apt-pkg/contrib/progress.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/apt-pkg/contrib/progress.cc b/apt-pkg/contrib/progress.cc index aa5acf010..aae0ea1e3 100644 --- a/apt-pkg/contrib/progress.cc +++ b/apt-pkg/contrib/progress.cc @@ -1,6 +1,6 @@ // -*- mode: cpp; mode: fold -*- // Description /*{{{*/ -// $Id: progress.cc,v 1.3 1998/07/26 04:49:35 jgg Exp $ +// $Id: progress.cc,v 1.4 1998/07/26 04:51:45 jgg Exp $ /* ###################################################################### OpProgress - Operation Progress @@ -12,6 +12,7 @@ #pragma implementation "apt-pkg/progress.h" #endif #include <apt-pkg/progress.h> +#include <apt-pkg/error.h> #include <stdio.h> /*}}}*/ @@ -97,7 +98,7 @@ void OpTextProgress::Done() if (NoUpdate == false && OldOp.empty() == false) { char S[300]; - if (_errors->PendingError() == true) + if (_error->PendingError() == true) snprintf(S,sizeof(S),"\r%s... Error!",OldOp.c_str()); else snprintf(S,sizeof(S),"\r%s... Done",OldOp.c_str()); |