X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/c71e7235da0dd2dd5f5d840360136844ea2ef1cb..e8da77409040fddae64adc6cce1799bb388db121:/client/cmdhf15.c diff --git a/client/cmdhf15.c b/client/cmdhf15.c index 2caab5cd..d3d97681 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) { @@ -669,7 +669,7 @@ int CmdHF15CmdRead(const char *Cmd) { } strcat(output," "); for ( int i=2; iarg[0]-2; i++) { - sprintf(output+strlen(output),"%c",recv[i]>31 || recv[i]<127?recv[i]:'.'); + sprintf(output+strlen(output),"%c",recv[i]>31 && recv[i]<127?recv[i]:'.'); } PrintAndLog("%s",output); } else {