diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2013-06-05 00:57:38 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2013-06-17 17:11:30 +0200 |
commit | 1245fbd2a8d60bab7b16b8a1d3c0122fee72f53f (patch) | |
tree | 6dcf938b1472a9b5cac35648ffb0f3d185c39590 /ax25/beacon.c | |
parent | 0b4425760be1f92a1f25daeb5d3dc91814a98622 (diff) |
Nuke trailing whitespace.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'ax25/beacon.c')
-rw-r--r-- | ax25/beacon.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ax25/beacon.c b/ax25/beacon.c index 095614f..26d1998 100644 --- a/ax25/beacon.c +++ b/ax25/beacon.c @@ -26,7 +26,7 @@ static void terminate(int sig) syslog(LOG_INFO, "terminating on SIGTERM\n"); closelog(); } - + exit(0); } @@ -37,7 +37,7 @@ int main(int argc, char *argv[]) int s, n, dlen, len, interval = 30; char *addr, *port, *message, *portcall; char *srccall = NULL, *destcall = NULL; - + while ((n = getopt(argc, argv, "c:d:lmst:v")) != -1) { switch (n) { case 'c': @@ -81,7 +81,7 @@ int main(int argc, char *argv[]) port = argv[optind]; message = argv[optind + 1]; - + if (ax25_config_load_ports() == 0) { fprintf(stderr, "beacon: no AX.25 ports defined\n"); return 1; @@ -151,7 +151,7 @@ int main(int argc, char *argv[]) } return 1; } - + if (sendto(s, message, strlen(message), 0, (struct sockaddr *)&dest, dlen) == -1) { if (logging) { syslog(LOG_ERR, "sendto: %m"); |