diff options
Diffstat (limited to 'src/reader.c')
-rw-r--r-- | src/reader.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/reader.c b/src/reader.c index fd859bf8..2b802b5f 100644 --- a/src/reader.c +++ b/src/reader.c @@ -394,7 +394,9 @@ serd_reader_read_source(SerdReader* reader, if (st || (st = serd_reader_prepare(reader))) { serd_reader_end_stream(reader); return st; - } else if ((st = read_doc(reader))) { + } + + if ((st = read_doc(reader))) { serd_reader_end_stream(reader); return st; } |