aboutsummaryrefslogtreecommitdiffstats
path: root/src/uri.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-04-30 17:41:11 +0000
committerDavid Robillard <d@drobilla.net>2011-04-30 17:41:11 +0000
commit3ef3583423f162dc1860523deed95fa215ff5c10 (patch)
tree7a0e1703a023a47a2f740c67da4b12066cc23c7e /src/uri.c
parent6dba0dd5cf94285437d2a0808ee2dec971302058 (diff)
downloadserd-3ef3583423f162dc1860523deed95fa215ff5c10.tar.gz
serd-3ef3583423f162dc1860523deed95fa215ff5c10.tar.bz2
serd-3ef3583423f162dc1860523deed95fa215ff5c10.zip
Use descriptive return codes instead of bool
git-svn-id: http://svn.drobilla.net/serd/trunk@154 490d8e77-9747-427b-9fa3-0b8f29cee8a0
Diffstat (limited to 'src/uri.c')
-rw-r--r--src/uri.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/uri.c b/src/uri.c
index 5d2feb74..958ba7da 100644
--- a/src/uri.c
+++ b/src/uri.c
@@ -69,7 +69,7 @@ serd_uri_dump(const SerdURI* uri, FILE* file)
#endif
SERD_API
-bool
+SerdStatus
serd_uri_parse(const uint8_t* utf8, SerdURI* uri)
{
*uri = SERD_URI_NULL;
@@ -181,7 +181,7 @@ end:
fprintf(stderr, "\n");
#endif
- return true;
+ return SERD_SUCCESS;
}
SERD_API