From: iceman1001 Date: Thu, 20 Oct 2016 15:31:23 +0000 (+0200) Subject: FIX: client crash for global id, and removing my previous fix. X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/36d87eeff0af91784e78dbb36e2d0e95b7dfaf79 FIX: client crash for global id, and removing my previous fix. --- diff --git a/client/cmdlfem4x.c b/client/cmdlfem4x.c index d139724c..02af547a 100644 --- a/client/cmdlfem4x.c +++ b/client/cmdlfem4x.c @@ -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; }