From f19d9bd05f6b2050955ab38a245fb60037f82406 Mon Sep 17 00:00:00 2001 From: Romain Tartiere Date: Tue, 28 Dec 2010 11:42:24 +0000 Subject: [PATCH] Fix parenthesis position. --- libfreefare/freefare.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libfreefare/freefare.c b/libfreefare/freefare.c index 3d08466..6f5c17a 100644 --- a/libfreefare/freefare.c +++ b/libfreefare/freefare.c @@ -52,9 +52,9 @@ freefare_tag_new (nfc_device_t *device, nfc_iso14443a_info_t nai) if (((nai.szUidLen == 4) || (nai.abtUid[0] == NXP_MANUFACTURER_CODE)) && (nai.btSak == supported_tags[i].SAK) && (!supported_tags[i].ATS_min_length || ((nai.szAtsLen >= supported_tags[i].ATS_min_length) && - (0 == memcmp (nai.abtAts, supported_tags[i].ATS, supported_tags[i].ATS_compare_length)) && - ((supported_tags[i].check_tag_on_reader == NULL) || - supported_tags[i].check_tag_on_reader(device, nai))))) { + (0 == memcmp (nai.abtAts, supported_tags[i].ATS, supported_tags[i].ATS_compare_length)))) && + ((supported_tags[i].check_tag_on_reader == NULL) || + supported_tags[i].check_tag_on_reader(device, nai))) { tag_info = &(supported_tags[i]); found = true;