From 512a40721393021dbf4194f414f473424fac0b3a Mon Sep 17 00:00:00 2001 From: Audrey Diacre Date: Wed, 25 Jan 2012 13:49:55 +0000 Subject: [PATCH] fix some indentations. --- examples/mifare-classic-read-ndef.c | 12 ++++++------ examples/mifare-classic-write-ndef.c | 12 ++++++------ examples/mifare-desfire-access.c | 12 ++++++------ examples/mifare-desfire-ev1-configure-ats.c | 12 ++++++------ .../mifare-desfire-ev1-configure-default-key.c | 12 ++++++------ examples/mifare-desfire-ev1-configure-random-uid.c | 12 ++++++------ examples/mifare-desfire-format.c | 12 ++++++------ examples/mifare-desfire-info.c | 12 ++++++------ examples/mifare-desfire-write-ndef.c | 14 +++++++------- 9 files changed, 55 insertions(+), 55 deletions(-) diff --git a/examples/mifare-classic-read-ndef.c b/examples/mifare-classic-read-ndef.c index f244b70..9131de6 100644 --- a/examples/mifare-classic-read-ndef.c +++ b/examples/mifare-classic-read-ndef.c @@ -112,12 +112,12 @@ main(int argc, char *argv[]) errx (EXIT_FAILURE, "No NFC device found."); for (size_t d = 0; d < device_count; d++) { - device = nfc_open (NULL, devices[d]); - if (!device) { - warnx ("nfc_open() failed."); - error = EXIT_FAILURE; - continue; - } + device = nfc_open (NULL, devices[d]); + if (!device) { + warnx ("nfc_open() failed."); + error = EXIT_FAILURE; + continue; + } tags = freefare_get_tags (device); if (!tags) { diff --git a/examples/mifare-classic-write-ndef.c b/examples/mifare-classic-write-ndef.c index 2a9d711..811e7b4 100644 --- a/examples/mifare-classic-write-ndef.c +++ b/examples/mifare-classic-write-ndef.c @@ -201,12 +201,12 @@ main(int argc, char *argv[]) errx (EXIT_FAILURE, "No NFC device found."); for (size_t d = 0; d < device_count; d++) { - device = nfc_open (NULL, devices[d]); - if (!device) { - warnx ("nfc_open() failed."); - error = EXIT_FAILURE; - continue; - } + device = nfc_open (NULL, devices[d]); + if (!device) { + warnx ("nfc_open() failed."); + error = EXIT_FAILURE; + continue; + } tags = freefare_get_tags (device); if (!tags) { diff --git a/examples/mifare-desfire-access.c b/examples/mifare-desfire-access.c index 5da2e0c..e08949e 100644 --- a/examples/mifare-desfire-access.c +++ b/examples/mifare-desfire-access.c @@ -49,12 +49,12 @@ main(int argc, char *argv[]) errx (EXIT_FAILURE, "No NFC device found."); for (size_t d = 0; d < device_count; d++) { - device = nfc_open (NULL, devices[d]); - if (!device) { - warnx ("nfc_open() failed."); - error = EXIT_FAILURE; - continue; - } + device = nfc_open (NULL, devices[d]); + if (!device) { + warnx ("nfc_open() failed."); + error = EXIT_FAILURE; + continue; + } tags = freefare_get_tags (device); if (!tags) { diff --git a/examples/mifare-desfire-ev1-configure-ats.c b/examples/mifare-desfire-ev1-configure-ats.c index 2e8fa79..ecc9ae6 100644 --- a/examples/mifare-desfire-ev1-configure-ats.c +++ b/examples/mifare-desfire-ev1-configure-ats.c @@ -83,12 +83,12 @@ main(int argc, char *argv[]) errx (EXIT_FAILURE, "No NFC device found."); for (size_t d = 0; (!error) && (d < device_count); d++) { - device = nfc_open (NULL, devices[d]); - if (!device) { - warnx ("nfc_open() failed."); - error = EXIT_FAILURE; - continue; - } + device = nfc_open (NULL, devices[d]); + if (!device) { + warnx ("nfc_open() failed."); + error = EXIT_FAILURE; + continue; + } tags = freefare_get_tags (device); if (!tags) { diff --git a/examples/mifare-desfire-ev1-configure-default-key.c b/examples/mifare-desfire-ev1-configure-default-key.c index 66dbeac..01e209b 100644 --- a/examples/mifare-desfire-ev1-configure-default-key.c +++ b/examples/mifare-desfire-ev1-configure-default-key.c @@ -83,12 +83,12 @@ main(int argc, char *argv[]) errx (EXIT_FAILURE, "No NFC device found."); for (size_t d = 0; (!error) && (d < device_count); d++) { - device = nfc_open (NULL, devices[d]); - if (!device) { - warnx ("nfc_open() failed."); - error = EXIT_FAILURE; - continue; - } + device = nfc_open (NULL, devices[d]); + if (!device) { + warnx ("nfc_open() failed."); + error = EXIT_FAILURE; + continue; + } tags = freefare_get_tags (device); if (!tags) { diff --git a/examples/mifare-desfire-ev1-configure-random-uid.c b/examples/mifare-desfire-ev1-configure-random-uid.c index 459400b..d19ec2f 100644 --- a/examples/mifare-desfire-ev1-configure-random-uid.c +++ b/examples/mifare-desfire-ev1-configure-random-uid.c @@ -80,12 +80,12 @@ main(int argc, char *argv[]) errx (EXIT_FAILURE, "No NFC device found."); for (size_t d = 0; (!error) && (d < device_count); d++) { - device = nfc_open (NULL, devices[d]); - if (!device) { - warnx ("nfc_open() failed."); - error = EXIT_FAILURE; - continue; - } + device = nfc_open (NULL, devices[d]); + if (!device) { + warnx ("nfc_open() failed."); + error = EXIT_FAILURE; + continue; + } tags = freefare_get_tags (device); if (!tags) { diff --git a/examples/mifare-desfire-format.c b/examples/mifare-desfire-format.c index 7fd14cf..f9b6e0f 100644 --- a/examples/mifare-desfire-format.c +++ b/examples/mifare-desfire-format.c @@ -80,12 +80,12 @@ main(int argc, char *argv[]) errx (EXIT_FAILURE, "No NFC device found."); for (size_t d = 0; (!error) && (d < device_count); d++) { - device = nfc_open (NULL, devices[d]); - if (!device) { - warnx ("nfc_open() failed."); - error = EXIT_FAILURE; - continue; - } + device = nfc_open (NULL, devices[d]); + if (!device) { + warnx ("nfc_open() failed."); + error = EXIT_FAILURE; + continue; + } tags = freefare_get_tags (device); if (!tags) { diff --git a/examples/mifare-desfire-info.c b/examples/mifare-desfire-info.c index 4d5da04..a4fb480 100644 --- a/examples/mifare-desfire-info.c +++ b/examples/mifare-desfire-info.c @@ -47,12 +47,12 @@ main(int argc, char *argv[]) errx (EXIT_FAILURE, "No NFC device found."); for (size_t d = 0; d < device_count; d++) { - device = nfc_open (NULL, devices[d]); - if (!device) { - warnx ("nfc_open() failed."); - error = EXIT_FAILURE; - continue; - } + device = nfc_open (NULL, devices[d]); + if (!device) { + warnx ("nfc_open() failed."); + error = EXIT_FAILURE; + continue; + } tags = freefare_get_tags (device); if (!tags) { diff --git a/examples/mifare-desfire-write-ndef.c b/examples/mifare-desfire-write-ndef.c index b552f17..22fca54 100644 --- a/examples/mifare-desfire-write-ndef.c +++ b/examples/mifare-desfire-write-ndef.c @@ -66,13 +66,13 @@ main(int argc, char *argv[]) errx (EXIT_FAILURE, "No NFC device found."); for (size_t d = 0; d < device_count; d++) { - device = nfc_open (NULL, devices[d]); - - if (!device) { - warnx ("nfc_open() failed."); - error = EXIT_FAILURE; - continue; - } + device = nfc_open (NULL, devices[d]); + + if (!device) { + warnx ("nfc_open() failed."); + error = EXIT_FAILURE; + continue; + } tags = freefare_get_tags (device); if (!tags) {