From 82520c5288861b5ed8c74681e348c2fca079eef2 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Tue, 26 Apr 2005 13:16:53 +0000 Subject: always initialize proxy settings --- mdk-stage1/network.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mdk-stage1/network.c') 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; -- cgit v1.2.1