changeset 963:b515a97e5dff

sms-pdu-decode family: fix VP-Relative header spacing When VP-Relative is small enough to be reckoned in 5 min or 30 min units, it was printed incorrectly, with a cosmetic defect of one extra space. Fix this bug.
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 28 Aug 2023 03:52:53 +0000
parents e3706ce1d01c
children a96cb97b66a2
files uptools/sms-pdu-decode/pdu-common.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/uptools/sms-pdu-decode/pdu-common.c	Sat Aug 05 00:01:42 2023 +0000
+++ b/uptools/sms-pdu-decode/pdu-common.c	Mon Aug 28 03:52:53 2023 +0000
@@ -201,7 +201,7 @@
 
 hhmm:	hours = min / 60;
 	min %= 60;
-	printf("VP-Relative: ");
+	printf("VP-Relative:");
 	if (hours)
 		printf(" %u hour%s", hours, hours != 1 ? "s" : "");
 	if (min)