mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
style
This commit is contained in:
parent
f2078ec0c2
commit
01c35a9bfb
1 changed files with 6 additions and 2 deletions
|
@ -740,8 +740,12 @@ static int unpack(scanner_t *s, json_t *root, va_list *ap) {
|
||||||
|
|
||||||
case 'b':
|
case 'b':
|
||||||
if (root && !json_is_boolean(root)) {
|
if (root && !json_is_boolean(root)) {
|
||||||
set_error(s, "<validation>", json_error_wrong_type, "Expected true or false, got %s",
|
set_error(s,
|
||||||
type_name(root));
|
"<validation>",
|
||||||
|
json_error_wrong_type,
|
||||||
|
"Expected true or false, got %s",
|
||||||
|
type_name(root)
|
||||||
|
);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue