diff options
| author | Tim Riker <tim@rikers.org> | 2006-01-25 00:08:53 +0000 |
|---|---|---|
| committer | Tim Riker <tim@rikers.org> | 2006-01-25 00:08:53 +0000 |
| commit | c1ef7bdd8d002ae0889efcf883d0e1b7faa938d4 (patch) | |
| tree | 5f329b7d0c7f20ecced0dc7581a9ba6dc720d965 /miscutils/strings.c | |
| parent | f64ff682a3d58dbb627e760e6fe1ec21d9ccdf61 (diff) | |
| download | busybox-w32-c1ef7bdd8d002ae0889efcf883d0e1b7faa938d4.tar.gz busybox-w32-c1ef7bdd8d002ae0889efcf883d0e1b7faa938d4.tar.bz2 busybox-w32-c1ef7bdd8d002ae0889efcf883d0e1b7faa938d4.zip | |
just whitespace
Diffstat (limited to 'miscutils/strings.c')
| -rw-r--r-- | miscutils/strings.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/miscutils/strings.c b/miscutils/strings.c index 111aa94ba..df7ff093b 100644 --- a/miscutils/strings.c +++ b/miscutils/strings.c | |||
| @@ -47,23 +47,23 @@ int strings_main(int argc, char **argv) | |||
| 47 | char *string; | 47 | char *string; |
| 48 | const char *fmt = "%s: "; | 48 | const char *fmt = "%s: "; |
| 49 | char *n_arg = "4"; | 49 | char *n_arg = "4"; |
| 50 | 50 | ||
| 51 | opt = bb_getopt_ulflags (argc, argv, "afon:", &n_arg); | 51 | opt = bb_getopt_ulflags (argc, argv, "afon:", &n_arg); |
| 52 | /* -a is our default behaviour */ | 52 | /* -a is our default behaviour */ |
| 53 | 53 | ||
| 54 | argc -= optind; | 54 | argc -= optind; |
| 55 | argv += optind; | 55 | argv += optind; |
| 56 | 56 | ||
| 57 | n = bb_xgetlarg(n_arg, 10, 1, INT_MAX); | 57 | n = bb_xgetlarg(n_arg, 10, 1, INT_MAX); |
| 58 | string = xcalloc(n + 1, 1); | 58 | string = xcalloc(n + 1, 1); |
| 59 | n--; | 59 | n--; |
| 60 | 60 | ||
| 61 | if ( argc == 0) { | 61 | if ( argc == 0) { |
| 62 | fmt = "{%s}: "; | 62 | fmt = "{%s}: "; |
| 63 | *argv = (char *)bb_msg_standard_input; | 63 | *argv = (char *)bb_msg_standard_input; |
| 64 | goto PIPE; | 64 | goto PIPE; |
| 65 | } | 65 | } |
| 66 | 66 | ||
| 67 | do { | 67 | do { |
| 68 | if ((file = bb_wfopen(*argv, "r"))) { | 68 | if ((file = bb_wfopen(*argv, "r"))) { |
| 69 | PIPE: | 69 | PIPE: |
