Skip to content
This repository has been archived by the owner on Dec 30, 2024. It is now read-only.

Commit

Permalink
Bugfix: Remove debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
mkostoevr committed Apr 27, 2020
1 parent bc07d16 commit 4af9469
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions fat12.c
Original file line number Diff line number Diff line change
Expand Up @@ -235,11 +235,9 @@ static int fat12__forEachFile_handleFolderEntry(Fat12 *this, int folderEntryOffs
name->capacity += name->capacity / 2;
name->data = realloc(name->data, name->capacity);
}
con_printf("Was %d (%d): %s\n", name->length, nameSize, name->data);
name->data[name->length++] = '/';
fat12__getItemName(&this->image[folderEntryOffset], &name->data[name->length]);
name->length += nameSize - 1;
con_printf("Becomt %d: %s\n", name->length, name->data);
if ((this->image[folderEntryOffset + 11] & 0x10)) {
// the item is folder
// handle folder only if it isn't current folder or parent one
Expand Down

0 comments on commit 4af9469

Please sign in to comment.