mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-11 09:07:24 -07:00
fix: saveFileEML() does not follow blocksize. Thanks to @brainpow
ref https://github.com/iceman1001/proxmark3/pull/164/commits/271dface40555b7c4951e67929d71f2cbcf3d263
This commit is contained in:
parent
124ce7efc6
commit
843f453491
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ int saveFileEML(const char *preferredName, const char *suffix, uint8_t* data, si
|
|||
|
||||
for (i = 0; i < datalen; i++) {
|
||||
fprintf(f, "%02X", data[i] );
|
||||
if ( (i+1) % 4 == 0)
|
||||
if ( (i+1) % blocksize == 0)
|
||||
fprintf(f, "\n");
|
||||
}
|
||||
// left overs
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue