From b90595ef486f10d4b5e069e9363a2df5270fe717 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 4 Jul 2014 00:11:40 +0300 Subject: Add another mirror into manaplus downloads list. --- src/gui/windows/updaterwindow.cpp | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'src/gui/windows/updaterwindow.cpp') diff --git a/src/gui/windows/updaterwindow.cpp b/src/gui/windows/updaterwindow.cpp index 0422f7553..c70222677 100644 --- a/src/gui/windows/updaterwindow.cpp +++ b/src/gui/windows/updaterwindow.cpp @@ -70,6 +70,8 @@ const std::string updateServer3 ("http://download.manaplus.org/manaplus/updates/"); const std::string updateServer4 ("http://download2.manaplus.org/manaplus/updates/"); +const std::string updateServer5 + ("http://download3.manaplus.org/manaplus/updates/"); /** * Load the given file into a vector of updateFiles. @@ -566,6 +568,8 @@ void UpdaterWindow::download() + mCurrentFile); mDownload->addMirror("http://www2.manaplus.org/update/" + mCurrentFile); + mDownload->addMirror("http://www3.manaplus.org/update/" + + mCurrentFile); } else { @@ -577,10 +581,10 @@ void UpdaterWindow::download() if (mDownloadStatus == UPDATE_LIST2 || mDownloadStatus == UPDATE_RESOURCES2) { - mDownload->addMirror(updateServer3 + mUpdateServerPath - + "/" + mCurrentFile); - mDownload->addMirror(updateServer4 + mUpdateServerPath - + "/" + mCurrentFile); + const std::string str = mUpdateServerPath + "/" + mCurrentFile; + mDownload->addMirror(updateServer3 + str); + mDownload->addMirror(updateServer4 + str); + mDownload->addMirror(updateServer5 + str); } else { -- cgit v1.2.3-60-g2f50