diff options
author | Harald Welte <laforge@gnumonks.org> | 2010-08-15 11:13:18 +0800 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2010-08-15 11:13:18 +0800 |
commit | a2dbdd6fd606f47838321a3ce9968fc2361ee7f9 (patch) | |
tree | 23f7da1f0633cffa27c2e387b6a5a6ad9cbde2b7 | |
parent | 43efa12e9fb6df6320ffb7e261145d313f19d1f3 (diff) |
don't print empty transaction log records
-rw-r--r-- | easytool/easycard.c | 2 |
1 files changed, 1 insertions, 1 deletions
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", |