]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdhfmf.c
Fixing clang compilation warning
[proxmark3-svn] / client / cmdhfmf.c
index 9797126b3c1e1b76718fd175fed93050056e3c17..9b43f4118289ae109c2e8e9860ff4cf51146e3dc 100644 (file)
@@ -1217,7 +1217,8 @@ int CmdHF14AMfChk(const char *Cmd) {
                        if (e_sector[i].foundKey[trgKeyType]) continue;\r
                                                \r
                        for (uint32_t c = 0; c < keycnt; c += max_keys) {\r
-                               \r
+                               printf(".");\r
+                               fflush(stdout);                 \r
                                uint32_t size = keycnt-c > max_keys ? max_keys : keycnt-c;\r
                                \r
                                res = mfCheckKeys(b, trgKeyType, true, size, &keyBlock[6*c], &key64);\r
@@ -1226,8 +1227,6 @@ int CmdHF14AMfChk(const char *Cmd) {
                                        e_sector[i].foundKey[trgKeyType] = TRUE;\r
                                        break;\r
                                }\r
-                               printf(".");\r
-                               fflush(stdout);\r
                        }\r
                        b < 127 ? ( b +=4 ) : ( b += 16 );      \r
                }\r
Impressum, Datenschutz