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 /tcpip/rip98d.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 'tcpip/rip98d.c')
-rw-r--r-- | tcpip/rip98d.c | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/tcpip/rip98d.c b/tcpip/rip98d.c index b05d196..ca9a7b5 100644 --- a/tcpip/rip98d.c +++ b/tcpip/rip98d.c @@ -279,31 +279,31 @@ int main(int argc, char **argv) while ((i = getopt(argc, argv, "dlrt:v")) != -1) { switch (i) { - case 'd': - debug = TRUE; - break; - case 'l': - logging = TRUE; - break; - case 'r': - route_restrict = TRUE; - break; - case 't': - interval = atoi(optarg) * 60; - if (interval < 60 || interval > 7200) { - fprintf(stderr, "rip98d: invalid time interval\n"); - return 1; - } - break; - case 'v': - printf("rip98d: %s\n", VERSION); - return 0; - case ':': + case 'd': + debug = TRUE; + break; + case 'l': + logging = TRUE; + break; + case 'r': + route_restrict = TRUE; + break; + case 't': + interval = atoi(optarg) * 60; + if (interval < 60 || interval > 7200) { fprintf(stderr, "rip98d: invalid time interval\n"); return 1; - case '?': - fprintf(stderr, "usage: rip98d [-d] [-l] [-r] [-t interval] [-v]\n"); - return 1; + } + break; + case 'v': + printf("rip98d: %s\n", VERSION); + return 0; + case ':': + fprintf(stderr, "rip98d: invalid time interval\n"); + return 1; + case '?': + fprintf(stderr, "usage: rip98d [-d] [-l] [-r] [-t interval] [-v]\n"); + return 1; } } |