diff options
Diffstat (limited to 'src/reader.c')
-rw-r--r-- | src/reader.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/reader.c b/src/reader.c index a0d74642..b1d0279f 100644 --- a/src/reader.c +++ b/src/reader.c @@ -1407,8 +1407,7 @@ serd_reader_read_file(SerdReader me, FILE* file, const uint8_t* name) memset(me->read_buf, '\0', READ_BUF_LEN * 2); me->read_buf += READ_BUF_LEN; - page(me); - const bool ret = read_turtleDoc(me); + const bool ret = !page(me) || read_turtleDoc(me); free(me->read_buf - READ_BUF_LEN); me->fd = 0; |