]> git.saurik.com Git - apt.git/blobdiff - apt-private/acqprogress.cc
Merge branch 'debian/sid' into debian/experimental
[apt.git] / apt-private / acqprogress.cc
index 17a12799cf6dbb0430677af5b99fc337af3d5fb5..d6ce192ad2178bf048c591208d78a3449e4547f2 100644 (file)
@@ -202,9 +202,9 @@ bool AcqTextStatus::Pulse(pkgAcquire *Owner)
       S += strlen(S);
 
       // Show the short mode string
-      if (I->CurrentItem->Owner->Mode != 0)
+      if (I->CurrentItem->Owner->ActiveSubprocess.empty() == false)
       {
-        snprintf(S,End-S," %s",I->CurrentItem->Owner->Mode);
+        snprintf(S,End-S, " %s", I->CurrentItem->Owner->ActiveSubprocess.c_str());
         S += strlen(S);
       }