X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/c71e7235da0dd2dd5f5d840360136844ea2ef1cb..382223b9a93ea4dbca25f65b3caa79a0b1d4dd35:/client/cmdhf15.c diff --git a/client/cmdhf15.c b/client/cmdhf15.c index 2caab5cd..29612c30 100644 --- a/client/cmdhf15.c +++ b/client/cmdhf15.c @@ -84,8 +84,8 @@ const productName uidmapping[] = { }; -// fast method to just read the UID of an tag (collission detection not supported) -// *buf shouls be large enough to fit the 64bit uid +// fast method to just read the UID of a tag (collission detection not supported) +// *buf should be large enough to fit the 64bit uid // returns 1 if suceeded int getUID(uint8_t *buf) { @@ -668,8 +668,8 @@ int CmdHF15CmdRead(const char *Cmd) { sprintf(output+strlen(output),"%02hX ",recv[i]); } strcat(output," "); - for ( int i=2; iarg[0]-2; i++) { - sprintf(output+strlen(output),"%c",recv[i]>31 || recv[i]<127?recv[i]:'.'); + for ( int i=1; iarg[0]-2; i++) { + sprintf(output+strlen(output),"%c",recv[i]>31 && recv[i]<127?recv[i]:'.'); } PrintAndLog("%s",output); } else {