summaryrefslogtreecommitdiffstats
path: root/ax25/mheard.c
Commit message (Collapse)AuthorAgeFilesLines
* Add a git suffix to the version number used by all programs.Ralf Baechle2017-01-241-1/+2
| | | | | | | This uses a setlocalversion script derived from the kernel's scripts/setlocalversion. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* got rid of ctime() and using localtime()/strftime().Thomas Osterried2016-07-181-29/+21
| | | | | | Has nicer time representation, too. Signed-off-by: Thomas Osterried <ax25@x-berg.in-berlin.de>
* fix for segfault issue:Thomas Osterried2016-07-181-22/+60
| | | | | | | | | | | | | | | port record data can be garbled. We cannot trust the data. i.e., ctime() returns NULL at time_t 2^33 (72057594037927936). char lh[] was size 30. This is not enough for year > 999999999. also assure that pr->entry.type is < sizeof(types), and in 'case 4:', only up to 8 digipeaters are copied. Thanks to Guido Trentalancia <iz6rdb@trentalancia.net> for the patch. Also changed printf to %u (because mheard's struct has unsigned int values) and enhanced formating (%8 instead of %5). Signed-off-by: Thomas Osterried <ax25@x-berg.in-berlin.de>
* added "-d a" option to mheard:Thomas Osterried2016-07-041-8/+63
| | | | | | | Display the data from c and s combined in one view. Requires wide screen. Patch by Folkert van Heusden <mail@vanheusden.com> Signed-off-by: Thomas Osterried <ax25@x-berg.in-berlin.de>
* Reformat consistently. Strictly whitespace changes only.Ralf Baechle2013-06-171-131/+131
| | | | | | | 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>
* Remove useless initializations to 0 or NULL.Ralf Baechle2013-06-171-1/+1
| | | | | | | They only inflate the .data section of the binary. Initializations to FALSE are still left to do. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Nuke trailing whitespace.Ralf Baechle2013-06-171-2/+2
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Remove use of backwards compatibility header name.Ralf Baechle2009-06-211-8/+0
| | | | | | Glibc as old as 2.2 provides working headers under the right name and if not libax25 would install headers under the right name so this has become redundant and ugly.
* Import ax25-tools 0.0.2 from tarballax25-tools-0.0.2Ralf Baechle1999-06-071-2/+11
|
* Import ax25-tools 0.0.1 from tarballax25-tools-0.0.1Ralf Baechle1999-04-211-0/+374