From 36d87eeff0af91784e78dbb36e2d0e95b7dfaf79 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Thu, 20 Oct 2016 17:31:23 +0200 Subject: [PATCH] FIX: client crash for global id, and removing my previous fix. --- client/cmdlfem4x.c | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) 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; } -- 2.39.5