summaryrefslogtreecommitdiffstats
path: root/mdk-stage1
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-04-26 13:16:53 +0000
committerOlivier Blin <oblin@mandriva.org>2005-04-26 13:16:53 +0000
commit82520c5288861b5ed8c74681e348c2fca079eef2 (patch)
treea26fed29fae81796f18bc9ecb107fe9570c33c2c /mdk-stage1
parent9e1a57eee667794eec7ece3dd29dda9368594b80 (diff)
downloaddrakx-82520c5288861b5ed8c74681e348c2fca079eef2.tar
drakx-82520c5288861b5ed8c74681e348c2fca079eef2.tar.gz
drakx-82520c5288861b5ed8c74681e348c2fca079eef2.tar.bz2
drakx-82520c5288861b5ed8c74681e348c2fca079eef2.tar.xz
drakx-82520c5288861b5ed8c74681e348c2fca079eef2.zip
always initialize proxy settings
Diffstat (limited to 'mdk-stage1')
-rw-r--r--mdk-stage1/network.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/mdk-stage1/network.c b/mdk-stage1/network.c
index 7ccdba14a..5239b4bee 100644
--- a/mdk-stage1/network.c
+++ b/mdk-stage1/network.c
@@ -657,6 +657,9 @@ static enum return_type get_http_proxy(char **http_proxy_host, char **http_proxy
if (results == RETURN_OK) {
*http_proxy_host = answers[0];
*http_proxy_port = answers[1];
+ } else {
+ *http_proxy_host = NULL;
+ *http_proxy_port = NULL;
}
return results;