From 196fd13629fc0f673b18735d633bdf69a3272590 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Mon, 14 Mar 2011 11:34:32 +0100 Subject: * mirror method: - when downloading data, show the mirror being used --- methods/mirror.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'methods') 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; } -- cgit v1.2.3