projects
/
proxmark3-svn
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Mfp commands (#698)
[proxmark3-svn]
/
client
/
cliparser
/
cliparser.c
diff --git
a/client/cliparser/cliparser.c
b/client/cliparser/cliparser.c
index 931d68cd20dbeed1a99c948ec0a0ed17d430cc67..954220398c655ce5d8009dbb69f8e75afdbbd08e 100644
(file)
--- a/
client/cliparser/cliparser.c
+++ b/
client/cliparser/cliparser.c
@@
-156,7
+156,7
@@
int CLIParamHexToBuf(struct arg_str *argstr, uint8_t *data, int maxdatalen, int
int ibuf = 0;
uint8_t buf[256] = {0};
- int res = CLIParamStrToBuf(argstr, buf, maxdatalen
, &ibuf);
+ int res = CLIParamStrToBuf(argstr, buf, maxdatalen
* 2, &ibuf); // *2 because here HEX
if (res || !ibuf)
return res;
Impressum
,
Datenschutz