summaryrefslogtreecommitdiff
path: root/methods/mirror.h
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2010-06-02 23:13:42 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2010-06-02 23:13:42 +0200
commit0391542729e5e8a2ba9ae9b1d470f252e24eb296 (patch)
tree91a8457b7fdad49acfd345616f653dc2c8add65f /methods/mirror.h
parent661f7b1c727aada703ffbb350d44759189a441fe (diff)
downloadapt-0391542729e5e8a2ba9ae9b1d470f252e24eb296.tar.gz
methods/mirrors.cc: make cycle through the mirrors work properly
Diffstat (limited to 'methods/mirror.h')
-rw-r--r--methods/mirror.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/methods/mirror.h b/methods/mirror.h
index 1b506dc87..0a3ea6e92 100644
--- a/methods/mirror.h
+++ b/methods/mirror.h
@@ -36,7 +36,8 @@ class MirrorMethod : public HttpMethod
bool DownloadMirrorFile(string uri);
string GetMirrorFileName(string uri);
bool InitMirrors();
- bool SelectNextMirror();
+ bool TryNextMirror();
+ void CurrentQueueUriToMirror();
bool Clean(string dir);
// we need to overwrite those to transform the url back