summaryrefslogtreecommitdiffstats
path: root/mdk-stage1
diff options
context:
space:
mode:
authorOlivier Blin <blino@mageia.org>2011-12-19 21:35:17 +0000
committerOlivier Blin <blino@mageia.org>2011-12-19 21:35:17 +0000
commitadbe7a0cb07feacc83d074f4e910d417a8d5a76a (patch)
treeb7341b8d73d19e1af5fc570bb81b2fbe4f924426 /mdk-stage1
parent01490c14dd09d414eeb344c4a6ce8c906cc35d89 (diff)
downloaddrakx-adbe7a0cb07feacc83d074f4e910d417a8d5a76a.tar
drakx-adbe7a0cb07feacc83d074f4e910d417a8d5a76a.tar.gz
drakx-adbe7a0cb07feacc83d074f4e910d417a8d5a76a.tar.bz2
drakx-adbe7a0cb07feacc83d074f4e910d417a8d5a76a.tar.xz
drakx-adbe7a0cb07feacc83d074f4e910d417a8d5a76a.zip
fix retrieving mirrorlist, broken in 1.53
Diffstat (limited to 'mdk-stage1')
-rw-r--r--mdk-stage1/NEWS2
-rw-r--r--mdk-stage1/network.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/mdk-stage1/NEWS b/mdk-stage1/NEWS
index 3afc87f1f..5d1af07f7 100644
--- a/mdk-stage1/NEWS
+++ b/mdk-stage1/NEWS
@@ -1,3 +1,5 @@
+- fix retrieving mirrorlist, broken in 1.53
+
1.53:
- display distro name in mirror list too (#191)
diff --git a/mdk-stage1/network.c b/mdk-stage1/network.c
index fa515f02d..870173cd1 100644
--- a/mdk-stage1/network.c
+++ b/mdk-stage1/network.c
@@ -879,7 +879,7 @@ static int choose_mirror_from_list(char *http_proxy_host, char *http_proxy_port,
mirrorlist[0][0] = "Specify the mirror manually";
mirrorlist[1][0] = NULL;
- results = get_mirrorlist(mirrorlist, 1, version, protocol, http_proxy_host, http_proxy_port);
+ results = get_mirrorlist(mirrorlist, 1, DISTRIB_VERSION, protocol, http_proxy_host, http_proxy_port);
if (results == RETURN_ERROR)
return RETURN_ERROR;