diff options
author | Thomas Brand <tom@trellis.ch> | 2019-02-20 20:36:08 +0100 |
---|---|---|
committer | Thomas Brand <tom@trellis.ch> | 2019-02-20 20:36:08 +0100 |
commit | b66c40488d9b3049736fcdabe14635f657172ba5 (patch) | |
tree | faff0a4b297ecc8c4a85c97a56bb02f82185279a /example-clients | |
parent | bccbc38b8463070212d1a409c3ef2056a73fbcf7 (diff) | |
download | jack2-b66c40488d9b3049736fcdabe14635f657172ba5.tar.gz |
NO-OP: tabs vs. spaces indentation.
Diffstat (limited to 'example-clients')
-rw-r--r-- | example-clients/bufsize.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/example-clients/bufsize.c b/example-clients/bufsize.c index 814df96f..cc5984f4 100644 --- a/example-clients/bufsize.c +++ b/example-clients/bufsize.c @@ -64,10 +64,10 @@ void parse_arguments(int argc, char *argv[]) exit(9); } - if (strspn (argv[1], "0123456789") != strlen (argv[1])) { + if (strspn (argv[1], "0123456789") != strlen (argv[1])) { fprintf(stderr, "usage: %s <bufsize>\n", package); exit(8); - } + } nframes = strtoul(argv[1], NULL, 0); if (errno == ERANGE) { @@ -76,11 +76,11 @@ void parse_arguments(int argc, char *argv[]) exit(2); } - if (nframes < 1 || nframes > 8192) { + if (nframes < 1 || nframes > 8192) { fprintf(stderr, "%s: invalid buffer size: %s (range is 1-8192)\n", package, argv[1]); exit(3); - } + } } int main(int argc, char *argv[]) @@ -90,7 +90,7 @@ int main(int argc, char *argv[]) parse_arguments(argc, argv); /* become a JACK client */ - if ((client = jack_client_open(package, JackNullOption, NULL)) == 0) { + if ((client = jack_client_open(package, JackNullOption, NULL)) == 0) { fprintf(stderr, "JACK server not running?\n"); exit(1); } |