diff options
author | Vincent Douillet <vincent@vdouillet.fr> | 2024-09-05 12:58:22 +0200 |
---|---|---|
committer | Vincent Douillet <vincent@vdouillet.fr> | 2024-09-06 12:22:20 +0200 |
commit | 35a145fd161fb4d4f19aa9820b50438695b94414 (patch) | |
tree | 00e9f341d5b7e0a6874efbe9fafc0500cf13cd2d /template.c | |
parent | 9b8d38ab209c6e7e747d6d420f1b105fe858c7eb (diff) |
browse: add upload button
Diffstat (limited to 'template.c')
-rw-r--r-- | template.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -43,7 +43,7 @@ * to be used in case of success). */ static int -read_file(char *path, char **output, size_t * read_size) +read_file(const char *path, char **output, size_t * read_size) { long file_size; FILE *fp; @@ -82,7 +82,7 @@ read_file(char *path, char **output, size_t * read_size) } struct page_template * -page_template_new(char *page) +page_template_new(const char *page) { struct page_template *tmpl; char template_path[PATH_MAX]; |