diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2011-03-14 11:34:32 +0100 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2011-03-14 11:34:32 +0100 |
commit | 196fd13629fc0f673b18735d633bdf69a3272590 (patch) | |
tree | 7217babb8ca4b9cf64d8ad0b9ea973fb30f7a6f4 /methods/mirror.cc | |
parent | d6cc7079e895e76ad9d086fcc6a40224dd41bb62 (diff) |
* mirror method:
- when downloading data, show the mirror being used
Diffstat (limited to 'methods/mirror.cc')
-rw-r--r-- | methods/mirror.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/methods/mirror.cc b/methods/mirror.cc index d092cc657..5a53d3c81 100644 --- a/methods/mirror.cc +++ b/methods/mirror.cc @@ -186,6 +186,10 @@ bool MirrorMethod::TryNextMirror() Queue->Uri.replace(0, mirror->length(), *nextmirror); if (Debug) clog << "TryNextMirror: " << Queue->Uri << endl; + + // inform parent + UsedMirror = *nextmirror; + Log("Switching mirror"); return true; } |