From a0349483636de9ceb91fdecde41fbbf56d6fc79b Mon Sep 17 00:00:00 2001 From: merlokk Date: Wed, 17 Jan 2018 16:12:50 +0200 Subject: [PATCH 1/1] fix eml file format --- client/mifarehost.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/mifarehost.c b/client/mifarehost.c index 67277b59..398e4f15 100644 --- a/client/mifarehost.c +++ b/client/mifarehost.c @@ -609,7 +609,8 @@ int saveTraceCard(void) { for (int i = 0; i < 64; i++) { // blocks for (int j = 0; j < 16; j++) // bytes fprintf(f, "%02x", *(traceCard + i * 16 + j)); - fprintf(f,"\n"); + if (i < 63) + fprintf(f,"\n"); } fclose(f); return 0; -- 2.39.2