diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2013-06-05 15:34:56 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2013-06-17 17:30:13 +0200 |
commit | f76e0b330f0be28f9f3af3073904ede3a34d48f5 (patch) | |
tree | 157597d534cf357a8bfddb1822a41902b4eba93b /kiss/kissattach.c | |
parent | 406b11281cf451927ac348f0639161d2f084743f (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 'kiss/kissattach.c')
-rw-r--r-- | kiss/kissattach.c | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/kiss/kissattach.c b/kiss/kissattach.c index 0f62892..e30ed05 100644 --- a/kiss/kissattach.c +++ b/kiss/kissattach.c @@ -234,32 +234,32 @@ int main(int argc, char *argv[]) while ((fd = getopt(argc, argv, "b6i:lm:v")) != -1) { switch (fd) { - case '6': - disc = N_6PACK; - break; - case 'b': - allow_broadcast = 1; - break; - case 'i': - fprintf(stderr, "%s: -i flag depreciated, use new command line format instead.\n", progname); - inetaddr = optarg; - break; - case 'l': - logging = TRUE; - break; - case 'm': - if ((mtu = atoi(optarg)) <= 0) { - fprintf(stderr, "%s: invalid mtu size - %s\n", progname, optarg); - return 1; - } - break; - case 'v': - printf("%s: %s\n", progname, VERSION); - return 0; - case ':': - case '?': - usage(); + case '6': + disc = N_6PACK; + break; + case 'b': + allow_broadcast = 1; + break; + case 'i': + fprintf(stderr, "%s: -i flag depreciated, use new command line format instead.\n", progname); + inetaddr = optarg; + break; + case 'l': + logging = TRUE; + break; + case 'm': + if ((mtu = atoi(optarg)) <= 0) { + fprintf(stderr, "%s: invalid mtu size - %s\n", progname, optarg); return 1; + } + break; + case 'v': + printf("%s: %s\n", progname, VERSION); + return 0; + case ':': + case '?': + usage(); + return 1; } } |