From e8da77409040fddae64adc6cce1799bb388db121 Mon Sep 17 00:00:00 2001 From: "dn337t@gmail.com" Date: Fri, 18 May 2012 09:05:00 +0000 Subject: [PATCH] boolean fix in 'hf 15 cmd read' using Adrian's second patch from issue 20 --- client/cmdhf15.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.39.5