From a083c64f506175029280ff76defa0ad7d7ae2ea0 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 28 Jun 2020 23:26:48 +0200 Subject: Simplify input stream API --- src/read_ntriples.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/read_ntriples.c') 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; -- cgit v1.2.1