diff options
Diffstat (limited to 'listen')
-rw-r--r-- | listen/ax25dump.c | 2 | ||||
-rw-r--r-- | listen/listen.c | 2 | ||||
-rw-r--r-- | listen/listen.h | 2 | ||||
-rw-r--r-- | listen/listen.man | 6 | ||||
-rw-r--r-- | listen/nrdump.c | 2 | ||||
-rw-r--r-- | listen/opentracdump.c | 10 |
6 files changed, 12 insertions, 12 deletions
diff --git a/listen/ax25dump.c b/listen/ax25dump.c index 5a870b7..6342dd4 100644 --- a/listen/ax25dump.c +++ b/listen/ax25dump.c @@ -297,7 +297,7 @@ void ax25_dump(unsigned char *data, int length, int hexdump) lprintf(T_AXHDR, "\n"); } else if ((type == SABM || type == UA) && length >= 2) { /* FlexNet transmits the QSO "handle" for header - * compression in SABM and UA frame data fields + * compression in SABM and UA frame data fields */ lprintf(T_AXHDR, " [%d]%s ", (data[0] << 8) | data[1], dama); diff --git a/listen/listen.c b/listen/listen.c index b7de1e3..04be3f1 100644 --- a/listen/listen.c +++ b/listen/listen.c @@ -51,7 +51,7 @@ void display_timestamp(void) timenow->tm_min, timenow->tm_sec); } -static void handle_sigint(int signal) +static void handle_sigint(int signal) { sigint++; close(sock); /* disturb blocking recvfrom */ diff --git a/listen/listen.h b/listen/listen.h index d484dc8..73a5d06 100644 --- a/listen/listen.h +++ b/listen/listen.h @@ -22,7 +22,7 @@ extern int ibmhack; /* IBM mapping? */ extern int timestamp; void display_timestamp(void); - + void lprintf(int dtype, char *fmt, ...); int initcolor(void); char *servname(int port, char *proto); diff --git a/listen/listen.man b/listen/listen.man index adc8dea..3a3d231 100644 --- a/listen/listen.man +++ b/listen/listen.man @@ -22,15 +22,15 @@ NET/ROM node polls are also displayed. .LP .B @@@Listen@@@ can use colors to make the output more readable. The ncurses library is used -to accomplish this. +to accomplish this. .B Color support defaults to being disabled, -and the +and the .BR -c parameter is used to enable it. .SH OPTIONS .TP 10 .BI \-8 -Indicates that the terminal is capable of printing 8-bit characters. This +Indicates that the terminal is capable of printing 8-bit characters. This parameter is required for the -i parameter to work. .TP 10 .BI \-a diff --git a/listen/nrdump.c b/listen/nrdump.c index 17c5b2f..c9fb0c1 100644 --- a/listen/nrdump.c +++ b/listen/nrdump.c @@ -42,7 +42,7 @@ static void netrom_inp_dump(unsigned char *data, int length) int tt; int alen; int i; - + if (data[0]==0xff) { lprintf(T_AXHDR, "INP Route Information Frame:\n"); i=1; diff --git a/listen/opentracdump.c b/listen/opentracdump.c index b4827f1..c0e7bdc 100644 --- a/listen/opentracdump.c +++ b/listen/opentracdump.c @@ -17,7 +17,7 @@ const char *units[]={"Volts","Amperes","Watts","Kelvins","Meters","Seconds", "Meters/Sec^2","Grays","Lumens","Cubic Meters/Second", "Pascal Seconds","Kilograms/Meter^3","Radians/Second^2","Coulombs", "Farads","Siemens","Count"}; - + unsigned char origin_call[7]; /* Who's talking */ unsigned char origin_ssid; unsigned char entity_call[7]; /* What they're talking about */ @@ -221,7 +221,7 @@ int decode_waypoint(unsigned char *element, int element_len) { strncpy(waypoint, element, element_len); waypoint[element_len] = 0; - lprintf(T_OPENTRAC, "Waypoint Name: %s\r\n", waypoint); + lprintf(T_OPENTRAC, "Waypoint Name: %s\r\n", waypoint); return 0; } @@ -315,7 +315,7 @@ int decode_acreg(unsigned char *element, int element_len) { strncpy(nnumber, element, element_len); nnumber[element_len]=0; lprintf(T_OPENTRAC, "Aircraft ID: %s\r\n", nnumber); - + return 0; } @@ -347,7 +347,7 @@ int decode_units(unsigned int unitnum, unsigned char *element, int element_len) double d; } *mval; int ival; /* too much variation in byte order and size for union */ - + if (unitnum > MAX_UNIT_INDEX) return -2; /* Invalid unit name */ mval = (void *)element; switch (element_len) { @@ -447,7 +447,7 @@ void opentrac_dump(unsigned char *data, int length, int hexdump) int elen; int etype; int decoded = 0; - + lprintf(T_PROTOCOL, "OpenTRAC decode (%d bytes):\r\n", length); strcpy(origin_call, "SENDER"); /* Listen doesn't tell us the sender */ origin_ssid = 0; |