diff options
-rw-r--r-- | mdk-stage1/network.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mdk-stage1/network.c b/mdk-stage1/network.c index 95990501d..5a2d56f18 100644 --- a/mdk-stage1/network.c +++ b/mdk-stage1/network.c @@ -760,7 +760,7 @@ static int choose_mirror_from_list(char *http_proxy_host, char *http_proxy_port, int fd, size, line_pos = 0; char line[500]; int use_http_proxy = http_proxy_host && http_proxy_port && !streq(http_proxy_host, "") && !streq(http_proxy_port, ""); - + fd = http_download_file(MIRRORLIST_HOST, MIRRORLIST_PATH, &size, use_http_proxy ? "http" : NULL, http_proxy_host, http_proxy_port); if (fd < 0) { log_message("HTTP: unable to get mirrors list"); |