diff options
author | Arch Librarian <arch@canonical.com> | 2004-09-20 16:58:21 +0000 |
---|---|---|
committer | Arch Librarian <arch@canonical.com> | 2004-09-20 16:58:21 +0000 |
commit | b1b663d1904126517d10c11bff8d9bf186d4c75b (patch) | |
tree | 7c6688f3566223b54da7d5351d0eb7b77f45702d | |
parent | 697bfdb1e50ae2115cd1459aa6000ad456775c38 (diff) |
Fixed more (null) printouts
Author: jgg
Date: 2001-06-08 05:15:42 GMT
Fixed more (null) printouts
-rw-r--r-- | cmdline/apt-cache.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cmdline/apt-cache.cc b/cmdline/apt-cache.cc index 6792b5767..e20301c13 100644 --- a/cmdline/apt-cache.cc +++ b/cmdline/apt-cache.cc @@ -1,6 +1,6 @@ // -*- mode: cpp; mode: fold -*- // Description /*{{{*/ -// $Id: apt-cache.cc,v 1.49 2001/05/27 04:46:43 jgg Exp $ +// $Id: apt-cache.cc,v 1.50 2001/06/08 05:15:42 jgg Exp $ /* ###################################################################### apt-cache - Manages the cache files @@ -188,7 +188,7 @@ bool DumpPackage(CommandLine &CmdL) { cout << " " << D.ParentPkg().Name() << ',' << D.TargetPkg().Name(); if (D->Version != 0) - cout << ' ' << D.TargetVer() << endl; + cout << ' ' << DeNull(D.TargetVer()) << endl; else cout << endl; } @@ -198,7 +198,7 @@ bool DumpPackage(CommandLine &CmdL) { cout << Cur.VerStr() << " - "; for (pkgCache::DepIterator Dep = Cur.DependsList(); Dep.end() != true; Dep++) - cout << Dep.TargetPkg().Name() << " (" << (int)Dep->CompareOp << " " << Dep.TargetVer() << ") "; + cout << Dep.TargetPkg().Name() << " (" << (int)Dep->CompareOp << " " << DeNull(Dep.TargetVer()) << ") "; cout << endl; } |