diff options
| author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-07-26 23:16:33 +0000 |
|---|---|---|
| committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-07-26 23:16:33 +0000 |
| commit | 94d03f0da0809784b398585cd0d7669b77a475c9 (patch) | |
| tree | 526189f1ab3c6e8c76149e9df22c8dec2dbf4f9f /miscutils | |
| parent | c24033eebe3b2305c2e8f179e4c55fd6c32b1d13 (diff) | |
| download | busybox-w32-94d03f0da0809784b398585cd0d7669b77a475c9.tar.gz busybox-w32-94d03f0da0809784b398585cd0d7669b77a475c9.tar.bz2 busybox-w32-94d03f0da0809784b398585cd0d7669b77a475c9.zip | |
whitespace fix
Diffstat (limited to 'miscutils')
| -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 5c8e2a4e5..edeffc776 100644 --- a/miscutils/man.c +++ b/miscutils/man.c | |||
| @@ -104,22 +104,22 @@ int man_main(int argc UNUSED_PARAM, char **argv) | |||
| 104 | 104 | ||
| 105 | /* Parse man.conf */ | 105 | /* Parse man.conf */ |
| 106 | parser = config_open("/etc/man.conf"); | 106 | parser = config_open("/etc/man.conf"); |
| 107 | while (config_read(parser, token, 2, 0, "# \t", PARSE_NORMAL)) { | 107 | while (config_read(parser, token, 2, 0, "# \t", PARSE_NORMAL)) { |
| 108 | if (!token[1]) | 108 | if (!token[1]) |
| 109 | continue; | 109 | continue; |
| 110 | if (strcmp("MANPATH", token[0]) == 0) { | 110 | if (strcmp("MANPATH", token[0]) == 0) { |
| 111 | man_path_list = xrealloc_vector(man_path_list, 4, count_mp); | 111 | man_path_list = xrealloc_vector(man_path_list, 4, count_mp); |
| 112 | man_path_list[count_mp] = xstrdup(token[1]); | 112 | man_path_list[count_mp] = xstrdup(token[1]); |
| 113 | count_mp++; | 113 | count_mp++; |
| 114 | /* man_path_list is NULL terminated */ | 114 | /* man_path_list is NULL terminated */ |
| 115 | man_path_list[count_mp] = NULL; | 115 | man_path_list[count_mp] = NULL; |
| 116 | } | 116 | } |
| 117 | if (strcmp("MANSECT", token[0]) == 0) { | 117 | if (strcmp("MANSECT", token[0]) == 0) { |
| 118 | free(sec_list); | 118 | free(sec_list); |
| 119 | sec_list = xstrdup(token[1]); | 119 | sec_list = xstrdup(token[1]); |
| 120 | } | 120 | } |
| 121 | } | 121 | } |
| 122 | config_close(parser); | 122 | config_close(parser); |
| 123 | 123 | ||
| 124 | // TODO: my man3/getpwuid.3.gz contains just one line: | 124 | // TODO: my man3/getpwuid.3.gz contains just one line: |
| 125 | // .so man3/getpwnam.3 | 125 | // .so man3/getpwnam.3 |
