working config file

This commit is contained in:
2025-09-18 19:32:19 +02:00
parent 7b42d1c90a
commit e811d404a1
9 changed files with 145 additions and 54 deletions
+2 -2
View File
@@ -8,7 +8,7 @@
#include "file.h"
#include "logs.h"
#include "strings.h"
#include "string.h"
#include "types.h"
static time_t get_file_time(File file) {
@@ -81,7 +81,7 @@ void file_prepend(File *src, File extra) {
char *old_src_content;
old_src_content = src->content;
src->content = strings_concat(extra.content, src->content);
src->content = string_concat(extra.content, src->content);
free(old_src_content);
}