diff options
Diffstat (limited to 'apt-pkg')
-rw-r--r-- | apt-pkg/acquire-item.cc | 6 | ||||
-rw-r--r-- | apt-pkg/contrib/strutl.cc | 3 |
2 files changed, 6 insertions, 3 deletions
diff --git a/apt-pkg/acquire-item.cc b/apt-pkg/acquire-item.cc index 37ce9bb2d..7e4ea5043 100644 --- a/apt-pkg/acquire-item.cc +++ b/apt-pkg/acquire-item.cc @@ -1,6 +1,6 @@ // -*- mode: cpp; mode: fold -*- // Description /*{{{*/ -// $Id: acquire-item.cc,v 1.24 1999/02/19 07:56:06 jgg Exp $ +// $Id: acquire-item.cc,v 1.25 1999/02/27 22:29:11 jgg Exp $ /* ###################################################################### Acquire Item - Item to acquire @@ -339,7 +339,9 @@ void pkgAcqIndexRel::Failed(string Message,pkgAcquire::MethodConfig *Cnf) if (Cnf->LocalOnly == true || StringToBool(LookupTag(Message,"Transient-Failure"),false) == false) { - Status = StatIdle; + // Ignore this + Status = StatDone; + Complete = false; Dequeue(); return; } diff --git a/apt-pkg/contrib/strutl.cc b/apt-pkg/contrib/strutl.cc index b5086be04..eb3ef96a2 100644 --- a/apt-pkg/contrib/strutl.cc +++ b/apt-pkg/contrib/strutl.cc @@ -1,6 +1,6 @@ // -*- mode: cpp; mode: fold -*- // Description /*{{{*/ -// $Id: strutl.cc,v 1.19 1999/02/01 08:11:57 jgg Exp $ +// $Id: strutl.cc,v 1.20 1999/02/27 22:29:11 jgg Exp $ /* ###################################################################### String Util - Some usefull string functions. @@ -25,6 +25,7 @@ #include <ctype.h> #include <string.h> #include <stdio.h> +#include <unistd.h> /*}}}*/ // strstrip - Remove white space from the front and back of a string /*{{{*/ |