diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2010-06-02 23:13:42 +0200 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2010-06-02 23:13:42 +0200 |
commit | 0391542729e5e8a2ba9ae9b1d470f252e24eb296 (patch) | |
tree | 91a8457b7fdad49acfd345616f653dc2c8add65f /methods/mirror.h | |
parent | 661f7b1c727aada703ffbb350d44759189a441fe (diff) | |
download | apt-0391542729e5e8a2ba9ae9b1d470f252e24eb296.tar.gz |
methods/mirrors.cc: make cycle through the mirrors work properly
Diffstat (limited to 'methods/mirror.h')
-rw-r--r-- | methods/mirror.h | 3 |
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 |