From b6792a0a0877773965ad83669519b878e5ceca02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Tarti=C3=A8re?= Date: Thu, 13 Aug 2015 09:49:07 +0200 Subject: [PATCH] Fix dumping send bytes. Unbreak build with --enable-debug. Fixes #43. --- libfreefare/felica.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libfreefare/felica.c b/libfreefare/felica.c index 50898ff..4c3f34a 100644 --- a/libfreefare/felica.c +++ b/libfreefare/felica.c @@ -44,7 +44,7 @@ inline static ssize_t felica_transceive (FreefareTag tag, uint8_t *data_in, uint8_t *data_out, size_t data_out_length) { - DEBUG_XFER (data_in, data_in_length, "===> "); + DEBUG_XFER (data_in, data_in[0], "===> "); ssize_t res = nfc_initiator_transceive_bytes (tag->device, data_in, data_in[0], data_out, data_out_length, 0); DEBUG_XFER (data_out, res, "<=== "); return res;