From 02a41f39b216ca43056fc2e8183351c077b5dd9c Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 5 Jul 2012 17:35:14 +0000 Subject: Add error callback to reader and writer for custom error reporting. Add -q option to serdi to suppress all non-data output, e.g. errors. Resolves #815. git-svn-id: http://svn.drobilla.net/serd/trunk@354 490d8e77-9747-427b-9fa3-0b8f29cee8a0 --- tests/serd_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/serd_test.c b/tests/serd_test.c index 2b6bc099..2dea9fe7 100644 --- a/tests/serd_test.c +++ b/tests/serd_test.c @@ -215,7 +215,7 @@ main() if (strcmp((const char*)(msg = serd_strerror(SERD_SUCCESS)), "Success")) { return failure("Bad message `%s' for SERD_SUCCESS\n", msg); } - for (int i = SERD_FAILURE; i <= SERD_ERR_NOT_FOUND; ++i) { + for (int i = SERD_FAILURE; i <= SERD_ERR_INTERNAL; ++i) { msg = serd_strerror((SerdStatus)i); if (!strcmp((const char*)msg, "Success")) { return failure("Bad message `%s' for (SerdStatus)%d\n", msg, i); -- cgit v1.2.1