summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/network.c
diff options
context:
space:
mode:
Diffstat (limited to 'mdk-stage1/network.c')
-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;