X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/810f53792ea438c1b70eaa1f934db1e5c96220cb..db44e049b05060bf42f9059d0fdaf0e6959bc018:/armsrc/mifaredesfire.c?ds=sidebyside diff --git a/armsrc/mifaredesfire.c b/armsrc/mifaredesfire.c index 75cb9e73..c5e42277 100644 --- a/armsrc/mifaredesfire.c +++ b/armsrc/mifaredesfire.c @@ -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 }