summaryrefslogtreecommitdiffstats
path: root/mdk-stage1
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2004-06-25 04:32:26 +0000
committerOlivier Blin <oblin@mandriva.org>2004-06-25 04:32:26 +0000
commita0af2836316f02ba41a79d85a0469e3e6b5ffbcc (patch)
treeda5666e6823cd95c3cec309c427ccd7c4df49f3f /mdk-stage1
parent8798a53cbe6c6684dccf153ef7be6ce5c7aa3911 (diff)
downloaddrakx-a0af2836316f02ba41a79d85a0469e3e6b5ffbcc.tar
drakx-a0af2836316f02ba41a79d85a0469e3e6b5ffbcc.tar.gz
drakx-a0af2836316f02ba41a79d85a0469e3e6b5ffbcc.tar.bz2
drakx-a0af2836316f02ba41a79d85a0469e3e6b5ffbcc.tar.xz
drakx-a0af2836316f02ba41a79d85a0469e3e6b5ffbcc.zip
use new http_proxy variables instead of the old answers (not anymore available)
Diffstat (limited to 'mdk-stage1')
-rw-r--r--mdk-stage1/network.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mdk-stage1/network.c b/mdk-stage1/network.c
index 937b89139..ba2a61424 100644
--- a/mdk-stage1/network.c
+++ b/mdk-stage1/network.c
@@ -1095,9 +1095,9 @@ enum return_type http_prepare(void)
add_to_env("METHOD", "http");
sprintf(location_full, "http://%s%s", answers[0], answers[1]);
add_to_env("URLPREFIX", location_full);
- if (!streq(answers[2], ""))
+ if (!streq(http_proxy_host, ""))
add_to_env("PROXY", http_proxy_host);
- if (!streq(answers[3], ""))
+ if (!streq(http_proxy_port, ""))
add_to_env("PROXYPORT", http_proxy_port);
}
while (results == RETURN_BACK);