aboutsummaryrefslogtreecommitdiffstats
path: root/src/read_ntriples.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/read_ntriples.c')
-rw-r--r--src/read_ntriples.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/read_ntriples.c b/src/read_ntriples.c
index df9a0e91..da726658 100644
--- a/src/read_ntriples.c
+++ b/src/read_ntriples.c
@@ -632,7 +632,7 @@ read_triple(SerdReader* const reader)
}
// Preserve the caret for error reporting and read object
- SerdCaret orig_caret = reader->source.caret;
+ SerdCaret orig_caret = reader->source->caret;
if ((st = read_nt_object(reader, &ctx.object, &ate_dot)) ||
(st = skip_horizontal_whitespace(reader))) {
return st;