]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - armsrc/mifaredesfire.c
Merge pull request #15 from alexgrin/iceman_master
[proxmark3-svn] / armsrc / mifaredesfire.c
index 75cb9e732e857f4c54d55ecca63a8c313aa3471f..c5e42277d49650dc47d545ca504b8b0df8e76bc3 100644 (file)
@@ -520,7 +520,7 @@ int DesfireAPDU(uint8_t *cmd, size_t cmd_len, uint8_t *dataout){
 
        len = ReaderReceive(resp, par);
        
-       if( len == 0x00 ){
+       if ( !len ) {
                if (MF_DBGLEVEL >= 4) Dbprintf("fukked");
                return FALSE; //DATA LINK ERROR
        }
Impressum, Datenschutz