summaryrefslogtreecommitdiffstats
path: root/ax25/bpqparms.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2013-06-05 15:34:56 +0200
committerRalf Baechle <ralf@linux-mips.org>2013-06-17 17:30:13 +0200
commitf76e0b330f0be28f9f3af3073904ede3a34d48f5 (patch)
tree157597d534cf357a8bfddb1822a41902b4eba93b /ax25/bpqparms.c
parent406b11281cf451927ac348f0639161d2f084743f (diff)
Reformat consistently. Strictly whitespace changes only.
Indentation by tabs only. Move case labels in switches are on the same level as the switch keyword. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'ax25/bpqparms.c')
-rw-r--r--ax25/bpqparms.c72
1 files changed, 36 insertions, 36 deletions
diff --git a/ax25/bpqparms.c b/ax25/bpqparms.c
index 590ab61..83734a8 100644
--- a/ax25/bpqparms.c
+++ b/ax25/bpqparms.c
@@ -79,42 +79,42 @@ int main(int argc, char **argv)
while ((cmd = getopt(argc, argv, "d:a:vVh")) != EOF) {
switch (cmd) {
- case 'd':
- flag |= 1;
- if (get_hwaddr(addr.destination, optarg)) {
- fprintf(stderr, "bpqparms: invalid 'destination' address %s\n", optarg);
- return 1;
- }
- break;
-
- case 'a':
- flag |= 2;
- if (get_hwaddr(addr.accept, optarg)) {
- fprintf(stderr, "bpqparms: invalid 'accept' address %s\n", optarg);
- return 1;
- }
- break;
-
- case 'V':
- printf("bpqparms version " VERSION "\n");
- printf("Copyright 1996, Jörg Reuter (jreuter@poboxes.com)\n");
- printf("This program is free software; you can redistribute it and/or modify\n");
- printf("it under the terms of the GNU General Public License as published by\n");
- printf("the Free Software Foundation; either version 2 of the License, or\n");
- printf(" (at your option) any later version.\n\n");
- printf("This program is distributed in the hope that it will be useful,\n");
- printf("but WITHOUT ANY WARRANTY; without even the implied warranty of\n");
- printf("MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n\n");
- return 0;
-
- case 'v':
- printf("bpqparms: %s\n", VERSION);
- return 0;
-
- case 'h':
- case ':':
- case '?':
- usage();
+ case 'd':
+ flag |= 1;
+ if (get_hwaddr(addr.destination, optarg)) {
+ fprintf(stderr, "bpqparms: invalid 'destination' address %s\n", optarg);
+ return 1;
+ }
+ break;
+
+ case 'a':
+ flag |= 2;
+ if (get_hwaddr(addr.accept, optarg)) {
+ fprintf(stderr, "bpqparms: invalid 'accept' address %s\n", optarg);
+ return 1;
+ }
+ break;
+
+ case 'V':
+ printf("bpqparms version " VERSION "\n");
+ printf("Copyright 1996, Jörg Reuter (jreuter@poboxes.com)\n");
+ printf("This program is free software; you can redistribute it and/or modify\n");
+ printf("it under the terms of the GNU General Public License as published by\n");
+ printf("the Free Software Foundation; either version 2 of the License, or\n");
+ printf(" (at your option) any later version.\n\n");
+ printf("This program is distributed in the hope that it will be useful,\n");
+ printf("but WITHOUT ANY WARRANTY; without even the implied warranty of\n");
+ printf("MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n\n");
+ return 0;
+
+ case 'v':
+ printf("bpqparms: %s\n", VERSION);
+ return 0;
+
+ case 'h':
+ case ':':
+ case '?':
+ usage();
}
}