aboutsummaryrefslogtreecommitdiffstats
path: root/src/iter.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-03-31 22:47:54 +0200
committerDavid Robillard <d@drobilla.net>2019-04-13 19:48:23 +0200
commitf19b3c02a317cb74f9410e026b7ec145c8be0bcb (patch)
tree58c5dcbe69cbdd1c87278401353f24d9a3967a7d /src/iter.c
parente75d53733b9e016f1fe92d961daa40f74de933e9 (diff)
downloadserd-f19b3c02a317cb74f9410e026b7ec145c8be0bcb.tar.gz
serd-f19b3c02a317cb74f9410e026b7ec145c8be0bcb.tar.bz2
serd-f19b3c02a317cb74f9410e026b7ec145c8be0bcb.zip
WIP: log
Diffstat (limited to 'src/iter.c')
-rw-r--r--src/iter.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/iter.c b/src/iter.c
index 87c9dfaf..e5687cd5 100644
--- a/src/iter.c
+++ b/src/iter.c
@@ -70,9 +70,9 @@ static bool
check_version(const SerdIter* const iter)
{
if (iter->version != iter->model->version) {
- serd_world_errorf(iter->model->world,
- SERD_ERR_BAD_ITER,
- "attempt to use invalidated iterator\n");
+ SERD_LOG_ERROR(iter->model->world,
+ SERD_ERR_BAD_ITER,
+ "attempt to use invalidated iterator\n");
return false;
}
return true;