From 1245fbd2a8d60bab7b16b8a1d3c0122fee72f53f Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Wed, 5 Jun 2013 00:57:38 +0200 Subject: Nuke trailing whitespace. Signed-off-by: Ralf Baechle --- ax25/beacon.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ax25/beacon.c') 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"); -- cgit v1.2.3