From a2dbdd6fd606f47838321a3ce9968fc2361ee7f9 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sun, 15 Aug 2010 11:13:18 +0800 Subject: don't print empty transaction log records --- easytool/easycard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/easytool/easycard.c b/easytool/easycard.c index 26a1430..3329ba1 100644 --- a/easytool/easycard.c +++ b/easytool/easycard.c @@ -107,7 +107,7 @@ static const struct mfcl_addr easy_trans_log_addrs[] = { void easy_dump_log_rec(const struct easy_log_rec *elr) { /* Skip empty records */ - if (!elr->timestamp) + if (!elr->trans_id) return; printf("%s | %02x | %4u NTD | %4u NTD | %-15s", -- cgit v1.2.3