summaryrefslogtreecommitdiff
path: root/content
diff options
context:
space:
mode:
Diffstat (limited to 'content')
-rw-r--r--content/fs_backing_store.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/content/fs_backing_store.c b/content/fs_backing_store.c
index 7ad649248..d29fcaac7 100644
--- a/content/fs_backing_store.c
+++ b/content/fs_backing_store.c
@@ -627,7 +627,7 @@ store_open(struct store_state *state,
/** @todo mkdir only on write flag */
/* ensure path to file is usable */
- ret = filepath_mkdir_all(fname);
+ ret = netsurf_mkdir_all(fname);
if (ret != NSERROR_OK) {
LOG(("file path \"%s\" could not be created", fname));
free(fname);
@@ -835,7 +835,9 @@ write_control(struct store_state *state)
return ret;
}
- ret = filepath_mkdir_all(fname);
+ LOG(("writing control file \"%s\"", fname));
+
+ ret = netsurf_mkdir_all(fname);
if (ret != NSERROR_OK) {
free(fname);
return ret;
@@ -881,6 +883,8 @@ read_control(struct store_state *state)
return ret;
}
+ LOG(("opening control file \"%s\"", fname));
+
fcontrol = fopen(fname, "rb");
free(fname);