aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/n3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/n3.c b/src/n3.c
index 861a59c0..bce9e01d 100644
--- a/src/n3.c
+++ b/src/n3.c
@@ -1418,7 +1418,7 @@ read_n3_statement(SerdReader* reader)
switch (peek_byte(reader)) {
case '\0':
reader->source.eof = true;
- return reader->status;
+ return SERD_FAILURE;
case '@':
if (!fancy_syntax(reader)) {
return r_err(reader, SERD_ERR_BAD_SYNTAX,