]> git.zerfleddert.de Git - proxmark3-svn/commitdiff
FIX: client crash for global id, and removing my previous fix.
authoriceman1001 <iceman@iuse.se>
Thu, 20 Oct 2016 15:31:23 +0000 (17:31 +0200)
committericeman1001 <iceman@iuse.se>
Thu, 20 Oct 2016 15:31:23 +0000 (17:31 +0200)
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