summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/network.c
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-12-20 13:13:35 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-12-20 13:13:35 +0000
commit7234d1b90c3a62740cf89931341cfb2d04ded1c0 (patch)
tree4ac8dc2fbd0da026a03f5fb13539afb7bfee2933 /mdk-stage1/network.c
parent314a5cfc9ef55cc61cbb6ef3327a519e7c64f061 (diff)
downloaddrakx-7234d1b90c3a62740cf89931341cfb2d04ded1c0.tar
drakx-7234d1b90c3a62740cf89931341cfb2d04ded1c0.tar.gz
drakx-7234d1b90c3a62740cf89931341cfb2d04ded1c0.tar.bz2
drakx-7234d1b90c3a62740cf89931341cfb2d04ded1c0.tar.xz
drakx-7234d1b90c3a62740cf89931341cfb2d04ded1c0.zip
create unset_automatic()
Diffstat (limited to 'mdk-stage1/network.c')
-rw-r--r--mdk-stage1/network.c10
1 files changed, 5 insertions, 5 deletions
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;
}