fix eml file format
authormerlokk <olegmsn@gmail.com>
Wed, 17 Jan 2018 14:12:50 +0000 (16:12 +0200)
committermerlokk <olegmsn@gmail.com>
Wed, 17 Jan 2018 14:12:50 +0000 (16:12 +0200)
client/mifarehost.c

index 67277b5904aa3c0f58cf1974808944a869d9cf79..398e4f15ed1586daeede8b9d18584942cce22bf3 100644 (file)
@@ -609,7 +609,8 @@ int saveTraceCard(void) {
        for (int i = 0; i < 64; i++) {  // blocks\r
                for (int j = 0; j < 16; j++)  // bytes\r
                        fprintf(f, "%02x", *(traceCard + i * 16 + j));\r
-               fprintf(f,"\n");\r
+               if (i < 63)\r
+                       fprintf(f,"\n");\r
        }\r
        fclose(f);\r
        return 0;\r
Impressum, Datenschutz