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 f1d04206..f3112be0 100644
--- a/src/n3.c
+++ b/src/n3.c
@@ -403,7 +403,7 @@ read_STRING_LITERAL(SerdReader* const reader,
break;
default:
if (c == q) {
- eat_byte_check(reader, q);
+ eat_byte_safe(reader, c);
return SERD_SUCCESS;
}