From f372c7500fd7cbb0b63113d850b4ad554dae9141 Mon Sep 17 00:00:00 2001 From: Roman Kalashnikov Date: Sun, 29 Oct 2017 23:20:33 +0300 Subject: [PATCH] Fixed missprint --- libfreefare/mifare_classic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libfreefare/mifare_classic.c b/libfreefare/mifare_classic.c index 07305b4..6181db4 100644 --- a/libfreefare/mifare_classic.c +++ b/libfreefare/mifare_classic.c @@ -526,7 +526,7 @@ mifare_classic_transfer(FreefareTag tag, const MifareClassicBlockNumber block) * meaning that the action was performed correctly (e.g. Snapper Feeder, * SCL 3711). */ - if (!BUFFER_SIZE(res) || ((BUFFER_SIZE(res) == 1) && (res[0] = MC_OK))) + if (!BUFFER_SIZE(res) || ((BUFFER_SIZE(res) == 1) && (res[0] == MC_OK))) return 0; else return res[0];