From f76e0b330f0be28f9f3af3073904ede3a34d48f5 Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Wed, 5 Jun 2013 15:34:56 +0200 Subject: 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 --- ax25/beacon.c | 58 +++++++++++++++++++++++++++++----------------------------- 1 file changed, 29 insertions(+), 29 deletions(-) (limited to 'ax25/beacon.c') diff --git a/ax25/beacon.c b/ax25/beacon.c index 26d1998..ca229c7 100644 --- a/ax25/beacon.c +++ b/ax25/beacon.c @@ -40,35 +40,35 @@ int main(int argc, char *argv[]) while ((n = getopt(argc, argv, "c:d:lmst:v")) != -1) { switch (n) { - case 'c': - srccall = optarg; - break; - case 'd': - destcall = optarg; - break; - case 'l': - logging = TRUE; - break; - case 'm': - mail = TRUE; - /* falls through */ - case 's': - single = TRUE; - break; - case 't': - interval = atoi(optarg); - if (interval < 1) { - fprintf(stderr, "beacon: interval must be greater than on minute\n"); - return 1; - } - break; - case 'v': - printf("beacon: %s\n", VERSION); - return 0; - case '?': - case ':': - fprintf(stderr, "usage: beacon [-c ] [-d ] [-l] [-m] [-s] [-t interval] [-v] \n"); + case 'c': + srccall = optarg; + break; + case 'd': + destcall = optarg; + break; + case 'l': + logging = TRUE; + break; + case 'm': + mail = TRUE; + /* falls through */ + case 's': + single = TRUE; + break; + case 't': + interval = atoi(optarg); + if (interval < 1) { + fprintf(stderr, "beacon: interval must be greater than on minute\n"); return 1; + } + break; + case 'v': + printf("beacon: %s\n", VERSION); + return 0; + case '?': + case ':': + fprintf(stderr, "usage: beacon [-c ] [-d ] [-l] [-m] [-s] [-t interval] [-v] \n"); + return 1; } } @@ -100,7 +100,7 @@ int main(int argc, char *argv[]) else addr = strdup("IDENT"); if (addr == NULL) - return 1; + return 1; if ((dlen = ax25_aton(addr, &dest)) == -1) { fprintf(stderr, "beacon: unable to convert callsign '%s'\n", addr); -- cgit v1.2.3