From 88df59722ef4e45a28251bdd44b5396224066576 Mon Sep 17 00:00:00 2001 From: t0m4 Date: Sun, 7 Jul 2019 12:10:51 +0200 Subject: [PATCH] Code cleaning --- client/cmdhf15.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/cmdhf15.c b/client/cmdhf15.c index 064781104..3d5ea9e59 100644 --- a/client/cmdhf15.c +++ b/client/cmdhf15.c @@ -1299,7 +1299,7 @@ static int CmdHF15CSetUID(const char *Cmd) { return 1; } - if (strcmp(sprint_hex_inrow_ex(uid, 1, 2), "E0") != 0) { + if (uid[0] != 0xe0) { PrintAndLogEx(WARNING, "UID must begin with the byte 'E0'"); return 1; }