aboutsummaryrefslogtreecommitdiffstats
path: root/src/reader.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-11-13 10:52:56 +0100
committerDavid Robillard <d@drobilla.net>2023-12-02 18:49:07 -0500
commit1a95f759fe3d642e8520e41e691e63f22a2f3b99 (patch)
treea4a0543b251cf0b0523bfcf2da06c9d92a066d74 /src/reader.c
parenta14effc37415540b7b8a1dc6238b350566f273e1 (diff)
downloadserd-1a95f759fe3d642e8520e41e691e63f22a2f3b99.tar.gz
serd-1a95f759fe3d642e8520e41e691e63f22a2f3b99.tar.bz2
serd-1a95f759fe3d642e8520e41e691e63f22a2f3b99.zip
Move fopen wrapper to world
Diffstat (limited to 'src/reader.c')
-rw-r--r--src/reader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/reader.c b/src/reader.c
index 83f13e8c..90fee2db 100644
--- a/src/reader.c
+++ b/src/reader.c
@@ -260,7 +260,7 @@ serd_reader_start_file(SerdReader* reader, const char* uri, bool bulk)
return SERD_BAD_ARG;
}
- FILE* fd = serd_fopen(path, "rb");
+ FILE* fd = serd_world_fopen(reader->world, path, "rb");
free(path);
if (!fd) {
return SERD_BAD_STREAM;