diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2004-11-02 14:04:21 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2004-11-02 14:04:21 +0000 |
commit | 0b87000cc38dfcbf937ffc84d4949af5df19bfe3 (patch) | |
tree | c54a94e9e5db50f66b97bf75a5db1fc1d1f09dcf /mdk-stage1 | |
parent | 29ab9ecda9f92b9bc90d053753794645c35b1529 (diff) | |
download | drakx-0b87000cc38dfcbf937ffc84d4949af5df19bfe3.tar drakx-0b87000cc38dfcbf937ffc84d4949af5df19bfe3.tar.gz drakx-0b87000cc38dfcbf937ffc84d4949af5df19bfe3.tar.bz2 drakx-0b87000cc38dfcbf937ffc84d4949af5df19bfe3.tar.xz drakx-0b87000cc38dfcbf937ffc84d4949af5df19bfe3.zip |
normalize code
Diffstat (limited to 'mdk-stage1')
-rw-r--r-- | mdk-stage1/network.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/mdk-stage1/network.c b/mdk-stage1/network.c index d80d05e00..8bad63c93 100644 --- a/mdk-stage1/network.c +++ b/mdk-stage1/network.c @@ -684,7 +684,8 @@ static int mirrorlist_entry_split(const char *entry, char *mirror[4]) /* mirror } -static int choose_mirror_from_host_list(char *mirrorlist[][4], const char *protocol, char *medium, char **selected_host, char **filepath) { +static int choose_mirror_from_host_list(char *mirrorlist[][4], const char *protocol, char *medium, char **selected_host, char **filepath) +{ enum return_type results; char *hostlist[MIRRORLIST_MAX_ITEMS+1] = { "Specify the mirror manually", "-----" }; int hostlist_index = 2, mirrorlist_index; @@ -737,7 +738,8 @@ static int choose_mirror_from_host_list(char *mirrorlist[][4], const char *proto } -static int choose_mirror_from_list(char *http_proxy_host, char *http_proxy_port, const char *protocol, char **selected_host, char **filepath) { +static int choose_mirror_from_list(char *http_proxy_host, char *http_proxy_port, const char *protocol, char **selected_host, char **filepath) +{ enum return_type results; char *mirrorlist[MIRRORLIST_MAX_ITEMS+1][4]; int mirrorlist_number = 0; |