diff options
author | David Robillard <d@drobilla.net> | 2011-04-30 17:41:28 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-04-30 17:41:28 +0000 |
commit | 5ea7474cad2748fad2a8e0f414c02ec56cb82dff (patch) | |
tree | 8cfd15fe5a5566fc565b7eb9fbcba79cccea8c2f /src | |
parent | 7a507f3805a849b906eb78ed1debef0c9812bb3a (diff) | |
download | lilv-5ea7474cad2748fad2a8e0f414c02ec56cb82dff.tar.gz lilv-5ea7474cad2748fad2a8e0f414c02ec56cb82dff.tar.bz2 lilv-5ea7474cad2748fad2a8e0f414c02ec56cb82dff.zip |
Update for new Serd API
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3245 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r-- | src/instance.c | 2 | ||||
-rw-r--r-- | src/world.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/instance.c b/src/instance.c index 95743f6..c3dcb00 100644 --- a/src/instance.c +++ b/src/instance.c @@ -77,7 +77,7 @@ lilv_plugin_instantiate(const LilvPlugin* plugin, const LilvNode* bundle_uri = lilv_plugin_get_bundle_uri(plugin); const char* bundle_uri_str = lilv_node_as_uri(bundle_uri); SerdURI base_uri; - if (!serd_uri_parse((const uint8_t*)bundle_uri_str, &base_uri)) { + if (serd_uri_parse((const uint8_t*)bundle_uri_str, &base_uri)) { dlclose(lib); break; } diff --git a/src/world.c b/src/world.c index 522236a..fbe86ff 100644 --- a/src/world.c +++ b/src/world.c @@ -238,7 +238,7 @@ lilv_new_uri_relative_to_base(const uint8_t* uri_str, const uint8_t* base_uri_str) { SerdURI base_uri; - if (!serd_uri_parse(base_uri_str, &base_uri)) { + if (serd_uri_parse(base_uri_str, &base_uri)) { return SERD_NODE_NULL; } |