diff options
author | Olivier Blin <oblin@mandriva.org> | 2004-06-29 12:08:49 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2004-06-29 12:08:49 +0000 |
commit | 979f53cdbfb1ce6e9330e3d2d63f5da148f6ddfa (patch) | |
tree | 0791f37f9084472c6cdf53d2e379cefa6c6997f2 /mdk-stage1 | |
parent | ad565aae9dcdf886feba62ae6e1d829a249053ee (diff) | |
download | drakx-979f53cdbfb1ce6e9330e3d2d63f5da148f6ddfa.tar drakx-979f53cdbfb1ce6e9330e3d2d63f5da148f6ddfa.tar.gz drakx-979f53cdbfb1ce6e9330e3d2d63f5da148f6ddfa.tar.bz2 drakx-979f53cdbfb1ce6e9330e3d2d63f5da148f6ddfa.tar.xz drakx-979f53cdbfb1ce6e9330e3d2d63f5da148f6ddfa.zip |
properly handle "back" behavior in mirror list step
Diffstat (limited to 'mdk-stage1')
-rw-r--r-- | mdk-stage1/network.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mdk-stage1/network.c b/mdk-stage1/network.c index b3f536d25..4986fdc00 100644 --- a/mdk-stage1/network.c +++ b/mdk-stage1/network.c @@ -773,7 +773,7 @@ static int choose_mirror_from_list(char *http_proxy_host, char *http_proxy_port, medialist, &selected_medium); if (results == RETURN_BACK) { - return RETURN_ERROR; + return RETURN_BACK; } else if (results == RETURN_OK) { if (!strcmp(selected_medium, medialist[0])) { /* enter the mirror manually */ @@ -909,7 +909,7 @@ enum return_type ftp_prepare(void) results = choose_mirror_from_list(http_proxy_host, http_proxy_port, "ftp", &answers[0], &answers[1]); - if (results != RETURN_OK) + if (results == RETURN_BACK) return ftp_prepare(); } |