diff options
author | David Robillard <d@drobilla.net> | 2021-09-09 13:57:43 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-01-28 21:57:07 -0500 |
commit | bd24b8f6d558bafbbb16d9490ebe3478dbf130bd (patch) | |
tree | 592c5ebc7694a80952b193de0adea0f4e640ec65 /src/inserter.c | |
parent | 1fb84760a8230637a806e8e83410fc7fb6d446d2 (diff) | |
download | serd-bd24b8f6d558bafbbb16d9490ebe3478dbf130bd.tar.gz serd-bd24b8f6d558bafbbb16d9490ebe3478dbf130bd.tar.bz2 serd-bd24b8f6d558bafbbb16d9490ebe3478dbf130bd.zip |
Use more human-readable status codes
Diffstat (limited to 'src/inserter.c')
-rw-r--r-- | src/inserter.c | 2 |
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; } } |