]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdlfem4x.c
nonce2key: printf->PrintAndLog
[proxmark3-svn] / client / cmdlfem4x.c
index d139724c1cf23f40b422786316a6de1350782cc8..02af547a7fd247639b625bee4cdbc08c6670d759 100644 (file)
@@ -150,14 +150,9 @@ int CmdEM410xWatch(const char *Cmd)
 int CmdEM410xWatchnSpoof(const char *Cmd)
 {
        // loops if the captured ID was in XL-format.
-       uint8_t ans = 0;
-       do {
-               ans = CmdEM410xWatch(Cmd);
-               if ( ans ) {
-                       PrintAndLog("# Replaying captured ID: %llu", g_em410xid);
-                       CmdLFaskSim("");
-               } 
-       } while ( !ans );
+       CmdEM410xWatch(Cmd);
+       PrintAndLog("# Replaying captured ID: %llu", g_em410xid);
+       CmdLFaskSim("");
        return 0;
 }
 
Impressum, Datenschutz