summaryrefslogtreecommitdiffstats
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
parent9e1a57eee667794eec7ece3dd29dda9368594b80 (diff)
downloaddrakx-backup-do-not-use-82520c5288861b5ed8c74681e348c2fca079eef2.tar
drakx-backup-do-not-use-82520c5288861b5ed8c74681e348c2fca079eef2.tar.gz
drakx-backup-do-not-use-82520c5288861b5ed8c74681e348c2fca079eef2.tar.bz2
drakx-backup-do-not-use-82520c5288861b5ed8c74681e348c2fca079eef2.tar.xz
drakx-backup-do-not-use-82520c5288861b5ed8c74681e348c2fca079eef2.zip
always initialize proxy settings
-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;