]> git.zerfleddert.de Git - proxmark3-svn/commitdiff
boolean fix in 'hf 15 cmd read' using Adrian's second patch from issue 20
authordn337t@gmail.com <dn337t@gmail.com@ef4ab9da-24cd-11de-8aaa-f3a34680c41f>
Fri, 18 May 2012 09:05:00 +0000 (09:05 +0000)
committerdn337t@gmail.com <dn337t@gmail.com@ef4ab9da-24cd-11de-8aaa-f3a34680c41f>
Fri, 18 May 2012 09:05:00 +0000 (09:05 +0000)
client/cmdhf15.c

index 41d88ff50fd57833721d63f99a5bb00ccceb26f1..d3d9768167ef69892fe139c73217698dd122a8e0 100644 (file)
@@ -669,7 +669,7 @@ int CmdHF15CmdRead(const char *Cmd) {
                                }                                       
                                strcat(output,"   ");
                                for ( int i=2; i<r->arg[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 {
Impressum, Datenschutz