summaryrefslogtreecommitdiff
path: root/apt-pkg/acquire-worker.cc
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2016-03-16 18:31:26 +0100
committerJulian Andres Klode <jak@debian.org>2016-03-16 18:34:47 +0100
commit421807e1d38c58b776be0b20faed94c5316d38eb (patch)
tree475f6627a6c08f3b6a2696a11add78ed0628315d /apt-pkg/acquire-worker.cc
parent349c5c89454ff344e4cf693492e7cb62ff549886 (diff)
Use descriptive URIs in 104 Warning messages
This makes the new GPG related warnings much nicer to read, for example, the second one here replaces the first one: W: gpgv:/var/lib/apt/lists/example.com_dists_stable_InRelease: Weak ... W: http://example.com/dists/stable/InRelease: Weak ...
Diffstat (limited to 'apt-pkg/acquire-worker.cc')
-rw-r--r--apt-pkg/acquire-worker.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/acquire-worker.cc b/apt-pkg/acquire-worker.cc
index c9f0e7f6e..f901847f7 100644
--- a/apt-pkg/acquire-worker.cc
+++ b/apt-pkg/acquire-worker.cc
@@ -279,7 +279,7 @@ bool pkgAcquire::Worker::RunMessages()
}
// 104 Warning
case 104:
- _error->Warning("%s: %s", Itm->URI.c_str(), LookupTag(Message,"Message").c_str());
+ _error->Warning("%s: %s", Itm->Owner->DescURI().c_str(), LookupTag(Message,"Message").c_str());
break;
// 200 URI Start