Skip to content

Commit

Permalink
.. autoformat
Browse files Browse the repository at this point in the history
  • Loading branch information
gdraheim committed Feb 29, 2024
1 parent 1d08ecc commit b4797bc
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
8 changes: 5 additions & 3 deletions zzip/fseeko.c
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,8 @@ zzip_entry_findfirst(FILE* disk)
}
return entry;
____;
} else if (zzip_disk64_trailer_check_magic(entry)) {
}
else if (zzip_disk64_trailer_check_magic(entry)) {
debug1("found zip64 trailer (supported incomplete)");
free(buffer);
buffer = NULL;
Expand All @@ -421,8 +422,9 @@ zzip_entry_findfirst(FILE* disk)
}
return entry;
____;
} else {
debug2("entry_check magic failed %lx", (long)ZZIP_GETMAGIC(entry));
}
else {
debug2("entry_check magic failed %lx", (long) ZZIP_GETMAGIC(entry));
}
}
____;
Expand Down
2 changes: 1 addition & 1 deletion zzip/memdisk.c
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ zzip_mem_disk_load(ZZIP_MEM_DISK* dir, ZZIP_DISK* disk)
}
if (dir->list)
zzip_mem_disk_unload(dir);
dir->disk = disk;
dir->disk = disk;
___ long count = 0;
___ struct zzip_disk_entry* entry = zzip_disk_findfirst(disk);
if (! entry)
Expand Down
2 changes: 1 addition & 1 deletion zzip/mmapped.c
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ zzip_disk_findfirst(ZZIP_DISK* disk)
errno = EFBIG;
return 0;
}
if ((zzip_byte_t*)(trailer + 1) >= disk->endbuf) {
if ((zzip_byte_t*) (trailer + 1) >= disk->endbuf) {
DBG1("incomplete ZIP64 trailer"); /* ZIP64 trailer is bigger */
errno = EFBIG;
return 0;
Expand Down

0 comments on commit b4797bc

Please sign in to comment.