summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaphael Geissert <geissert@debian.org>2012-05-14 18:27:37 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2012-05-14 18:27:37 +0200
commit046e104e1371584251ad2568a11090fe4ed9a42e (patch)
treed39a489c841afafe1452cf30602cd4ac208a6c16
parent57194e03a40d2ff323588acb8353eef2b881e5b2 (diff)
* methods/mirror.cc:
- generate an equal sign also for the first arch (Closes: #669142)
-rw-r--r--debian/changelog3
-rw-r--r--methods/mirror.cc2
2 files changed, 4 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index 937bde918..88057d531 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -24,6 +24,9 @@ apt (0.9.4) UNRELEASED; urgency=low
in the method the redirection occured in (Closes: #668111)
* methods/http.cc:
- forbid redirects to change protocol
+ * methods/mirror.cc:
+ - generate an equal sign also for the first arch (Closes: #669142)
+
-- David Kalnischkies <kalnischkies@gmail.com> Fri, 11 May 2012 23:26:59 +0200
diff --git a/methods/mirror.cc b/methods/mirror.cc
index eb6d97425..d6c5ba955 100644
--- a/methods/mirror.cc
+++ b/methods/mirror.cc
@@ -150,7 +150,7 @@ bool MirrorMethod::DownloadMirrorFile(string mirror_uri_str)
for (std::vector<std::string>::const_iterator I = vec.begin();
I != vec.end(); ++I)
if (I == vec.begin())
- fetch += "?arch" + (*I);
+ fetch += "?arch=" + (*I);
else
fetch += "&arch=" + (*I);