actually fix the list options
This commit is contained in:
@@ -604,9 +604,11 @@ static void print_picopass_header(const picopass_hdr *hdr) {
|
||||
}
|
||||
|
||||
static int CmdHFiClassList(const char *Cmd) {
|
||||
char args[128];
|
||||
char args[128] = {0};
|
||||
if (strlen(Cmd) == 0) {
|
||||
snprintf(args, sizeof(args), "-t iclass");
|
||||
} else {
|
||||
strncpy(args, Cmd, sizeof(args) - 1);
|
||||
}
|
||||
return CmdTraceList(args);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user