diff options
author | Denis Vlasenko | 2008-07-26 23:16:33 +0000 |
---|---|---|
committer | Denis Vlasenko | 2008-07-26 23:16:33 +0000 |
commit | 94d03f0da0809784b398585cd0d7669b77a475c9 (patch) | |
tree | 526189f1ab3c6e8c76149e9df22c8dec2dbf4f9f /miscutils/man.c | |
parent | c24033eebe3b2305c2e8f179e4c55fd6c32b1d13 (diff) | |
download | busybox-94d03f0da0809784b398585cd0d7669b77a475c9.zip busybox-94d03f0da0809784b398585cd0d7669b77a475c9.tar.gz |
whitespace fix
Diffstat (limited to 'miscutils/man.c')
-rw-r--r-- | miscutils/man.c | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/miscutils/man.c b/miscutils/man.c index 5c8e2a4..edeffc7 100644 --- a/miscutils/man.c +++ b/miscutils/man.c @@ -104,22 +104,22 @@ int man_main(int argc UNUSED_PARAM, char **argv) /* Parse man.conf */ parser = config_open("/etc/man.conf"); - while (config_read(parser, token, 2, 0, "# \t", PARSE_NORMAL)) { - if (!token[1]) - continue; - if (strcmp("MANPATH", token[0]) == 0) { - man_path_list = xrealloc_vector(man_path_list, 4, count_mp); - man_path_list[count_mp] = xstrdup(token[1]); - count_mp++; - /* man_path_list is NULL terminated */ - man_path_list[count_mp] = NULL; - } - if (strcmp("MANSECT", token[0]) == 0) { - free(sec_list); - sec_list = xstrdup(token[1]); - } - } - config_close(parser); + while (config_read(parser, token, 2, 0, "# \t", PARSE_NORMAL)) { + if (!token[1]) + continue; + if (strcmp("MANPATH", token[0]) == 0) { + man_path_list = xrealloc_vector(man_path_list, 4, count_mp); + man_path_list[count_mp] = xstrdup(token[1]); + count_mp++; + /* man_path_list is NULL terminated */ + man_path_list[count_mp] = NULL; + } + if (strcmp("MANSECT", token[0]) == 0) { + free(sec_list); + sec_list = xstrdup(token[1]); + } + } + config_close(parser); // TODO: my man3/getpwuid.3.gz contains just one line: // .so man3/getpwnam.3 |