summaryrefslogtreecommitdiff
path: root/methods
diff options
context:
space:
mode:
Diffstat (limited to 'methods')
-rw-r--r--methods/mirror.cc4
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;
}