diff options
author | David Robillard <d@drobilla.net> | 2018-11-26 22:14:39 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2018-11-26 22:14:39 +0100 |
commit | af475a0c5ee0f61c3046caa0d9b563c07a14d995 (patch) | |
tree | 6b6db89aa95772dbd60cff12315d535f709d812a /src/serdi.c | |
parent | 2a1a2522b23122e2428019489df9ddb5b0ec30ea (diff) | |
download | serd-af475a0c5ee0f61c3046caa0d9b563c07a14d995.tar.gz serd-af475a0c5ee0f61c3046caa0d9b563c07a14d995.tar.bz2 serd-af475a0c5ee0f61c3046caa0d9b563c07a14d995.zip |
Rename SerdError to SerdMessage
Towards more general usage for all types of logging.
Diffstat (limited to 'src/serdi.c')
-rw-r--r-- | src/serdi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/serdi.c b/src/serdi.c index 2bef5e4a..1a07c3e8 100644 --- a/src/serdi.c +++ b/src/serdi.c @@ -74,7 +74,7 @@ missing_arg(const char* name, char opt) } static SerdStatus -quiet_error_sink(void* handle, const SerdError* e) +quiet_error_sink(void* handle, const SerdMessage* msg) { return SERD_SUCCESS; } @@ -228,7 +228,7 @@ main(int argc, char** argv) reader = serd_reader_new(world, input_syntax, sink, stack_size); serd_reader_set_strict(reader, !lax); if (quiet) { - serd_world_set_error_sink(world, quiet_error_sink, NULL); + serd_world_set_message_sink(world, quiet_error_sink, NULL); } SerdNode* root = serd_new_uri(root_uri); |