diff options
author | zlago | 2024-09-02 19:08:39 +0200 |
---|---|---|
committer | zlago | 2024-09-02 19:24:53 +0200 |
commit | 156f638c6c16aeae921939c4cebfe43fc0668378 (patch) | |
tree | 73d5f939a91111d88c9f9cb3e7d61ae487339f15 /src/common | |
parent | 9c0646f404d5ff2cbda0e967ba5e0b59ff5de6ab (diff) |
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/common.c b/src/common/common.c index 3fb1c6a..5ce79ad 100644 --- a/src/common/common.c +++ b/src/common/common.c @@ -18,7 +18,7 @@ int (*file_ext(char *file))(struct blob *, struct userdata *) { } struct blob load_file(char const *const name) { - const size_t START_SIZE = 1; + const size_t START_SIZE = 8192; FILE *file = fopen(name, "rb"); if (file == NULL) { return (struct blob) {.data = NULL}; |