From bbc670648440a36e73b8b0473cc0d4a1f313f35a Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 14 Dec 2011 19:35:53 +0000 Subject: (choose_mirror_from_list) display distro name in mirror list too (#191) --- mdk-stage1/NEWS | 2 ++ mdk-stage1/network.c | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/mdk-stage1/NEWS b/mdk-stage1/NEWS index 99016e833..2c68c8054 100644 --- a/mdk-stage1/NEWS +++ b/mdk-stage1/NEWS @@ -1,3 +1,5 @@ +- display distro name in mirror list too (#191) + 1.52: - fix build with gcc-4.6.2 * fixes -Werror=unused-but-set-variable diff --git a/mdk-stage1/network.c b/mdk-stage1/network.c index a1af8af0f..fa515f02d 100644 --- a/mdk-stage1/network.c +++ b/mdk-stage1/network.c @@ -861,8 +861,8 @@ static int choose_mirror_from_host_list(mirrorlist_t mirrorlist, char **selected static int choose_mirror_from_list(char *http_proxy_host, char *http_proxy_port, const char *protocol, char **selected_host, char **filepath) { enum return_type results; - char *versions[] = { "Specify the mirror manually", DISTRIB_VERSION, NULL }; - char *version = DISTRIB_VERSION; + char *versions[] = { "Specify the mirror manually", DISTRIB_NAME " " DISTRIB_VERSION, NULL }; + char *version = DISTRIB_NAME " " DISTRIB_VERSION; do { results = ask_from_list("Please select a medium from the list below.", versions, &version); -- cgit v1.2.1