aboutsummaryrefslogtreecommitdiffstats
path: root/src/inserter.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/inserter.c')
-rw-r--r--src/inserter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inserter.c b/src/inserter.c
index 100fc23a..96caf216 100644
--- a/src/inserter.c
+++ b/src/inserter.c
@@ -68,7 +68,7 @@ serd_inserter_on_statement(SerdInserterData* const data,
// Check that every node is expanded so it is context-free
for (unsigned i = 0; i < 4; ++i) {
if (!can_insert(world, serd_statement_node(statement, (SerdField)i))) {
- return SERD_ERR_BAD_ARG;
+ return SERD_BAD_ARG;
}
}