aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/n3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/n3.c b/src/n3.c
index 46de68cf..cdb2d9a7 100644
--- a/src/n3.c
+++ b/src/n3.c
@@ -1402,7 +1402,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,