diff simtool/dispatch.c @ 147:dcbabc398c6a

increase max number of skip-ID arguments for bfsearch
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 25 Feb 2021 06:22:22 +0000
parents c2889812788e
children 26d7a8815515
line wrap: on
line diff
--- a/simtool/dispatch.c	Thu Feb 25 06:10:00 2021 +0000
+++ b/simtool/dispatch.c	Thu Feb 25 06:22:22 2021 +0000
@@ -109,7 +109,7 @@
 	{"a38", 1, 1, 1, cmd_a38},
 	{"apdu", 1, 1, 0, cmd_apdu},
 	{"atr", 0, 0, 0, retrieve_atr},
-	{"bfsearch", 1, 8, 1, cmd_bfsearch},
+	{"bfsearch", 1, 18, 1, cmd_bfsearch},
 	{"cd", 1, 1, 0, cmd_cd},
 	{"change-chv1", 2, 2, 0, cmd_change_chv},
 	{"change-chv2", 2, 2, 0, cmd_change_chv},
@@ -250,7 +250,7 @@
 simtool_dispatch_cmd(cmd, is_script)
 	char *cmd;
 {
-	char *argv[10];
+	char *argv[20];
 	char *cp, **ap;
 	struct cmdtab *tp;
 	FILE *outf;