changeset 31:08d7794cdd0a

themwi-test-mtc: fix bug in called number parsing
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 06 Jul 2022 22:38:44 -0800
parents 496f359226ab
children b3f74df7b808
files mtctest/setup.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mtctest/setup.c	Wed Jul 06 22:26:09 2022 -0800
+++ b/mtctest/setup.c	Wed Jul 06 22:38:44 2022 -0800
@@ -52,7 +52,7 @@
 		setup_msg.fields |= MNCC_F_CALLED;
 		return;
 	}
-	ndig = grok_number_string(arg);
+	ndig = grok_number_string(arg, 1);
 	switch (ndig) {
 	case 4:
 		dehyphen_number_string(arg, short_num);