summary refs log tree commit diff
path: root/src/common
diff options
context:
space:
mode:
authorzlago2024-09-02 19:08:39 +0200
committerzlago2024-09-02 19:24:53 +0200
commit156f638c6c16aeae921939c4cebfe43fc0668378 (patch)
tree73d5f939a91111d88c9f9cb3e7d61ae487339f15 /src/common
parent9c0646f404d5ff2cbda0e967ba5e0b59ff5de6ab (diff)
oops HEAD main
Diffstat (limited to 'src/common')
-rw-r--r--src/common/common.c2
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};