aboutsummaryrefslogtreecommitdiffstats
path: root/src/blogc/loader.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/blogc/loader.c')
-rw-r--r--src/blogc/loader.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/blogc/loader.c b/src/blogc/loader.c
index b182e0b..c3e1a4a 100644
--- a/src/blogc/loader.c
+++ b/src/blogc/loader.c
@@ -63,7 +63,7 @@ blogc_template_parse_from_file(const char *f, bc_error_t **err)
if (err == NULL || *err != NULL)
return NULL;
size_t len;
- char *s = bc_file_get_contents(f, &len, err);
+ char *s = bc_file_get_contents(f, true, &len, err);
if (s == NULL)
return NULL;
bc_slist_t *rv = blogc_template_parse(s, len, err);
@@ -78,7 +78,7 @@ blogc_source_parse_from_file(const char *f, bc_error_t **err)
if (err == NULL || *err != NULL)
return NULL;
size_t len;
- char *s = bc_file_get_contents(f, &len, err);
+ char *s = bc_file_get_contents(f, true, &len, err);
if (s == NULL)
return NULL;
bc_trie_t *rv = blogc_source_parse(s, len, err);