From: dn337t@gmail.com Date: Fri, 18 May 2012 09:05:00 +0000 (+0000) Subject: boolean fix in 'hf 15 cmd read' using Adrian's second patch from issue 20 X-Git-Tag: v1.0.0~220 X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/e8da77409040fddae64adc6cce1799bb388db121?ds=sidebyside;hp=e4da8ed0bbcd6352a3aba257b084849443882e59 boolean fix in 'hf 15 cmd read' using Adrian's second patch from issue 20 --- diff --git a/client/cmdhf15.c b/client/cmdhf15.c index 41d88ff5..d3d97681 100644 --- a/client/cmdhf15.c +++ b/client/cmdhf15.c @@ -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 {