From 7234d1b90c3a62740cf89931341cfb2d04ded1c0 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 20 Dec 2004 13:13:35 +0000 Subject: create unset_automatic() --- mdk-stage1/network.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'mdk-stage1/network.c') diff --git a/mdk-stage1/network.c b/mdk-stage1/network.c index 5f341640c..be4cbefc4 100644 --- a/mdk-stage1/network.c +++ b/mdk-stage1/network.c @@ -867,7 +867,7 @@ enum return_type nfs_prepare(void) "and the directory containing the " DISTRIB_NAME " Distribution.", questions, &answers, 40, questions_auto, NULL); if (results != RETURN_OK || streq(answers[0], "")) { - unset_param(MODE_AUTOMATIC); /* we are in a fallback mode */ + unset_automatic(); /* we are in a fallback mode */ return nfs_prepare(); } @@ -940,7 +940,7 @@ enum return_type ftp_prepare(void) "and the login/pass if necessary (leave login blank for anonymous). ", questions, &answers, 40, questions_auto, NULL); if (results != RETURN_OK || streq(answers[0], "")) { - unset_param(MODE_AUTOMATIC); /* we are in a fallback mode */ + unset_automatic(); /* we are in a fallback mode */ return ftp_prepare(); } @@ -1026,7 +1026,7 @@ enum return_type ftp_prepare(void) if (!use_http_proxy) ftp_end_data_command(ftp_serv_response); } else { - unset_param(MODE_AUTOMATIC); /* we are in a fallback mode */ + unset_automatic(); /* we are in a fallback mode */ return results; } @@ -1081,7 +1081,7 @@ enum return_type http_prepare(void) "and the directory containing the " DISTRIB_NAME " Distribution.", questions, &answers, 40, questions_auto, NULL); if (results != RETURN_OK || streq(answers[0], "")) { - unset_param(MODE_AUTOMATIC); /* we are in a fallback mode */ + unset_automatic(); /* we are in a fallback mode */ return http_prepare(); } @@ -1107,7 +1107,7 @@ enum return_type http_prepare(void) log_message("HTTP: size of download %d bytes", size); if (load_clp_fd(fd, size) != RETURN_OK) { - unset_param(MODE_AUTOMATIC); /* we are in a fallback mode */ + unset_automatic(); /* we are in a fallback mode */ return RETURN_ERROR; } -- cgit v1.2.1