]> git.zerfleddert.de Git - proxmark3-svn/commitdiff
Minor fix with previous cache-removal 131/head
authorMartin Holst Swende <martin@swende.se>
Mon, 20 Jul 2015 21:22:33 +0000 (23:22 +0200)
committerMartin Holst Swende <martin@swende.se>
Mon, 20 Jul 2015 21:22:33 +0000 (23:22 +0200)
client/cmdhw.c

index 7218f3e9ab33b60508f82d1451ff5a91f6453d1e..2b6f95187512a16c0e7fa8e9fda265d2aff457ad 100644 (file)
@@ -409,7 +409,7 @@ int CmdVersion(const char *Cmd)
        UsbCommand resp = {0, {0, 0, 0}};
 
        SendCommand(&c);
        UsbCommand resp = {0, {0, 0, 0}};
 
        SendCommand(&c);
-       if (WaitForResponseTimeout(CMD_ACK,&resp,1000) && Cmd != NULL) {
+       if (WaitForResponseTimeout(CMD_ACK,&resp,1000)) {
                PrintAndLog("Prox/RFID mark3 RFID instrument");
                PrintAndLog((char*)resp.d.asBytes);
                lookupChipID(resp.arg[0], resp.arg[1]);
                PrintAndLog("Prox/RFID mark3 RFID instrument");
                PrintAndLog((char*)resp.d.asBytes);
                lookupChipID(resp.arg[0], resp.arg[1]);
Impressum, Datenschutz