diff uptools/sms-pdu-decode/pcm-sms-decode.c @ 960:411d1cc14326

sms-pdu-decode family: prepare for SC address becoming optional
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 04 Aug 2023 23:09:12 +0000
parents 3a80bfa87496
children
line wrap: on
line diff
--- a/uptools/sms-pdu-decode/pcm-sms-decode.c	Thu Jun 08 03:03:26 2023 +0000
+++ b/uptools/sms-pdu-decode/pcm-sms-decode.c	Fri Aug 04 23:09:12 2023 +0000
@@ -69,7 +69,7 @@
 			printf("Record #%u is %s message:\n", recno,
 				msgtype[(record[0] >> 1) & 3]);
 			bcopy(record + 1, pdu, 175);
-			process_pdu(0);
+			process_pdu(0, 1);
 			putchar('\n');
 		} else
 			printf("Record #%u is empty\n\n", recno);